https://github.com/mikkurogue/nvim.config
my own nvim config - its still wip
https://github.com/mikkurogue/nvim.config
Last synced: 2 months ago
JSON representation
my own nvim config - its still wip
- Host: GitHub
- URL: https://github.com/mikkurogue/nvim.config
- Owner: mikkurogue
- Created: 2024-07-06T20:37:21.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-02-15T21:06:54.000Z (3 months ago)
- Last Synced: 2025-03-19T21:49:43.052Z (2 months ago)
- Language: Lua
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install
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\`## Dependencies
- [Luarocks](https://github.com/luarocks/luarocks/wiki/Download)
- [Lua 5.3+](https://www.lua.org/download.html)## Language server deps
- 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)## nvim master mind giga cheet sheet for this config:
### Normal mode:
- ` ca` - open code actions
- `i` enter edit mode
- `v` enter visual mode
- `h,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 directory
- `shift a [A]` in neotree, this adds file or directory in current position of neotree cursor
- `dd` delete line in buffer
- `d` delete dir/file in neotree at position of cursor
- `p` paste from nvim clipboard (see `y` in visual mode)
- `:! ` runs a shell command from the nvim command line
- `ctrl arrow-up` / `ctrl arrow-down` create a new cursor up or down a line on the same column.
- `:` jump to the line number in the current buffer
- `shift f [F]` - fuzzy find files
- `shift b [B]` - fuzzy find buffers### Visual mode
- `h,j,k,l` (or arrow keys) to select text in file
- `d` delete selection
- `y` yank to clipboard (not to system clipboard to nvim clipboard, its a bit confusing at first)
- (more coming soon im still learning vim)