Mac/Linux:
git clone https://github.com/mikkurogue/nvim.config.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
Fish terminal on unix systems:
set -Ux XDG_CONFIG_HOME $HOME/.config git clone https://github.com/mikkurogue/nvim.config.git $XDG_CONFIG_HOME/nvim
Windows:
For cmd.exe
git clone https://github.com/mikkurogue/nvim.config.git %userprofile%\AppData\Local\nvim\
For powershell.exe:
git clone https://github.com/mikkurogue/nvim.config.git $env:USERPROFILE\AppData\Local\nvim\
- Rust analyzer (rustup)
- TSServer (vstls coming soon hopefully if im not too lazy) (npm i -g typescript-language-server)
- gopls (make sure go is in PATH)
<space> ca
- open code actionsi
enter edit modev
enter visual modeh,j,k,l
traverse the buffer (arrow keys work too)w
move forward to next token start (usually next start of word)b
move backward to previous end token (usually end of previous word)ctrl ww
move from window to window (like neotree to buffer, or buffer to neotree)ctrl wv
create a window vertically with the current buffer:w!
write file (without ! its just write file without forcing it):q!
quit buffer/window (without ! its just quit without forcing it):Neotree toggle
nvim script command to toggle the tree:Fzf buffers
fuzzy find through all open buffers/files:Fzf files
fuzzy find through all files in directoryshift a [A]
in neotree, this adds file or directory in current position of neotree cursordd
delete line in bufferd
delete dir/file in neotree at position of cursorp
paste from nvim clipboard (seey
in visual mode):! <shell command>
runs a shell command from the nvim command linectrl arrow-up
/ctrl arrow-down
create a new cursor up or down a line on the same column.:<any number>
jump to the line number in the current buffershift f [F]
- fuzzy find filesshift b [B]
- fuzzy find buffers
h,j,k,l
(or arrow keys) to select text in filed
delete selectiony
yank to clipboard (not to system clipboard to nvim clipboard, its a bit confusing at first)- (more coming soon im still learning vim)