Minor updates

This commit is contained in:
Kristofers Solo
2022-08-02 23:16:35 +03:00
parent 2a7c51f3ae
commit b319945989
14 changed files with 107 additions and 2837 deletions

View File

@@ -161,7 +161,6 @@ local mappings = {
},
s = {
name = "Search",
s = { "<cmd>s%//<Left>", "Replace word" },
b = { "<cmd>Telescope git_branches<CR>", "Checkout branch" },
c = { "<cmd>Telescope colorscheme<CR>", "Colorscheme" },
h = { "<cmd>Telescope help_tags<CR>", "Find Help" },
@@ -176,7 +175,7 @@ local mappings = {
name = "Terminal",
n = { "<cmd>lua _NODE_TOGGLE()<CR>", "Node" },
u = { "<cmd>lua _NCDU_TOGGLE()<CR>", "NCDU" },
t = { "<cmd>lua _BTOP_TOGGLE()<CR>", "Btop" },
b = { "<cmd>lua _BTOP_TOGGLE()<CR>", "Btop" },
p = { "<cmd>lua _PYTHON_TOGGLE()<CR>", "Python" },
f = { "<cmd>ToggleTerm direction=float<CR>", "Float" },
h = { "<cmd>ToggleTerm size=10 direction=horizontal<CR>", "Horizontal" },
@@ -186,7 +185,9 @@ local mappings = {
name = "Settings",
c = { "<cmd>setlocal formatoptions-=cro<CR>", "Disable autocomment" },
C = { "<cmd>setlocal formatoptions=cro<CR>", "Enable autocomment" },
s = { "<cmd>setlocal spell! spelllang=en_us<CR>", "Toggle spellchecker" },
s = { "<cmd>setlocal spell!<CR>", "Toggle spellchecker" },
e = { "<cmd>setlocal spell spelllang=en_us<CR>", "Enable English spellchecker" },
l = { "<cmd>setlocal spell spelllang=lv_LV<CR>", "Enable Lavian spellchecker" },
I = { "<cmd>setlocal autoindent<CR>", "Enable autoindent" },
i = { "<cmd>setlocal noautoindent<CR>", "Disable autoindent" },
},