Skip to content

alfiankan/dot-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal public dot files

I'am Using NVIM

Love it

Requirements (for mac, os yang lain ada tapi cari sendiri ya)

  • neovim brew install neovim, tapi kalau sempat rekomen banget build from source nya saja
  • ripgrep brew install ripgrep
  • nodejs 16+
  • python3+ and install pip install pynvim

How to Install

  • clone this repo
  • copy cp -R /path/this/repo/.config/nvim ~/.config/nvim
  • inside nvim run packer command :PackerSync

Custom keymaps

  • pd peek definition
  • gd go to definition
  • ctrl + space open lsp auto complete
  • K hover info lsp
  • Ctrl+b open file tree
  • Ctrl+t open tagbar , but u need to install ctags by brew install ctags
  • ca code action
  • fr find references
  • ld line diagnosis
  • :Neoformat prettier
Screenshot 2023-06-18 at 20 30 37 Screenshot 2023-06-18 at 20 30 49

Hint (because ini adalah saya bikin personalized ada beberapa ket feature yang saya sesuaikan sendiri diantaranya yang paling nampak)

Screenshot 2023-06-18 at 20 21 50

Buffer History (Shift + B)

Screenshot 2023-06-18 at 20 22 00

File Finder (Ctrl + f)

Screenshot 2023-06-18 at 20 22 11

Buffer History (Space + Space)

Screenshot 2023-06-18 at 20 22 19 Screenshot 2023-06-18 at 20 22 34 Screenshot 2023-06-18 at 20 22 49

Others

  • if the LSP doesnt work please run LspInstall <your language> but it shoul be auto installed believe me
  • Debugger only supported for python for now, but u can configure for ur own language