From 649ddde164a7f5f4fc7aa907393413b5573abf2c Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Thu, 2 Feb 2023 05:51:04 -0800 Subject: [PATCH] :memo: Adjusted scroll set and updated nvim notes/indent --- .config/nvim/lua/neovim/set.lua | 2 +- nvim_custom_keys.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/neovim/set.lua b/.config/nvim/lua/neovim/set.lua index 12db2829..3dccde92 100644 --- a/.config/nvim/lua/neovim/set.lua +++ b/.config/nvim/lua/neovim/set.lua @@ -20,7 +20,7 @@ vim.opt.incsearch = true vim.opt.termguicolors = true -vim.opt.scrolloff = 8 +vim.opt.scrolloff = 18 vim.opt.signcolumn = "yes" -- vim.opt.isfname:append("@-@") diff --git a/nvim_custom_keys.txt b/nvim_custom_keys.txt index ba910f99..a70eef0b 100644 --- a/nvim_custom_keys.txt +++ b/nvim_custom_keys.txt @@ -45,6 +45,10 @@ ctrl u -page up ctrl d - page down u - undoes last change (can be used with prepended numbers depending on how many steps you want to undo) ctrl + r - reverts changes over after unintentional undoing (undoes the last undo commands, also can be prepended by a number) +>> - indent a single line +<< - unindent a single line +4>> - indent current and 3 following lines +4<< - unindent current and 3 following lines / - forwards slash searches for the word/term you wish to jump to, just press enter once it is highlighted ? - question mark searches for the word/term you wish to jump to, just press enter once it is highlighted