Skip to content

TuringProblem/nvim-configs

Repository files navigation

Welcome to my configs :p

here is a quick chart on how to navigate using this config file:

Mode Key Command Description
n <leader>nh :nohl<CR> Clear search highlights
n <leader>+ <C-a> Increment number
n <leader>- <C-x> Decrement number
n <leader>sv <C-w>v [S]plit window [V]ertically
n <leader>sh <C-w>s [S]plit window [H]orizontally
n <leader>se <C-w>= [S]plits size [E]qually
n <leader>sc <cmd>close<CR> [S]plit window [C]lose
n <leader>vn <cmd>windo wincmd k<CR> [V]iew [N]ext
n <leader>vb <cmd>windo wincmd h<CR> [V]iew [B]ack
n <leader>to <cmd>tabnew<CR> [T]ab [O]pen (new)
n <leader>tc <cmd>tabclose<CR> [T]ab [C]lose
n <leader>tn <cmd>tabn<CR> [T]ab [N]ext - (right)
n <leader>tp <cmd>tabp<CR> [T]left ab [P]revious - (left)
n <leader>tf <cmd>tabnew %<CR> Open current buffer in new tab
v < <gv Indent left in visual mode
v > >gv Indent right in visual mode
n gd <cmd>Telescope lsp_definitions<cr> Go to definition
n gr <cmd>Telescope lsp_references<cr> Find references
n gi <cmd>Telescope lsp_implementations<cr> Find implementations
n gt <cmd>Telescope lsp_type_definitions<cr> Find type definitions
n <leader>ff <cmd>Telescope find_files<cr> Fuzzy find files in cwd
n <leader>fr <cmd>Telescope oldfiles<cr> Fuzzy find recent files
n <leader>fs <cmd>Telescope live_grep<cr> Find string in cwd
n <leader>fc <cmd>Telescope grep_string<cr> Find string under cursor in cwd
n <leader>ft <cmd>TodoTelescope<cr> Find todos
n <space>- <CMD>Oil<CR> Runs the parent directory
n, t <leader>tt toggle_terminal() [T]oggle [T]erminal
n, t <leader>tf toggle_terminal_focus() Toggle focus between terminal and editor
n, t <leader>tr move_terminal("right") Move terminal right
n, t <leader>tl move_terminal("left") Move terminal left
n, t <leader>tb move_terminal("bottom") Move terminal bottom
n, t <leader>tc move_terminal("center") Center terminal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published