aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--alias1
-rw-r--r--nvim.lua19
2 files changed, 12 insertions, 8 deletions
diff --git a/alias b/alias
index 680a839..2bbde10 100644
--- a/alias
+++ b/alias
@@ -7,6 +7,7 @@ eval "${shell}rc(){
7 vim \$RCFILE && source \$RCFILE 7 vim \$RCFILE && source \$RCFILE
8}" 8}"
9alias vim='nvim' 9alias vim='nvim'
10alias vimrc='vim ~/.vimrc'
10alias tigrc="$EDITOR ~/.tigrc" 11alias tigrc="$EDITOR ~/.tigrc"
11alias muttrc="$EDITOR ~/.config/mutt/muttrc" 12alias muttrc="$EDITOR ~/.config/mutt/muttrc"
12alias gitconfig="$EDITOR ~/.gitconfig" 13alias gitconfig="$EDITOR ~/.gitconfig"
diff --git a/nvim.lua b/nvim.lua
index 125d4bc..920a46e 100644
--- a/nvim.lua
+++ b/nvim.lua
@@ -77,7 +77,7 @@ require('lazy').setup({
77 77
78 -- For surrounding 78 -- For surrounding
79 'machakann/vim-sandwich', 79 'machakann/vim-sandwich',
80 80
81 81
82 82
83 -- NOTE: This is where your plugins related to LSP can be installed. 83 -- NOTE: This is where your plugins related to LSP can be installed.
@@ -116,13 +116,16 @@ require('lazy').setup({
116 }, 116 },
117 117
118 -- Useful plugin to show you pending keybinds. 118 -- Useful plugin to show you pending keybinds.
119 { 'folke/which-key.nvim', opts = { 119 {
120 plugins = { 120 'folke/which-key.nvim',
121 spelling = { 121 opts = {
122 enabled = true, -- enabling this will show WhichKey when pressing z= to select spelling suggestions 122 plugins = {
123 suggestions = 20, -- how many suggestions should be shown in the list? 123 spelling = {
124 }, 124 enabled = true, -- enabling this will show WhichKey when pressing z= to select spelling suggestions
125 }} 125 suggestions = 20, -- how many suggestions should be shown in the list?
126 },
127 }
128 }
126 }, 129 },
127 { 130 {
128 -- Adds git related signs to the gutter, as well as utilities for managing changes 131 -- Adds git related signs to the gutter, as well as utilities for managing changes