diff options
| -rw-r--r-- | alias | 1 | ||||
| -rw-r--r-- | nvim.lua | 19 |
2 files changed, 12 insertions, 8 deletions
| @@ -7,6 +7,7 @@ eval "${shell}rc(){ | |||
| 7 | vim \$RCFILE && source \$RCFILE | 7 | vim \$RCFILE && source \$RCFILE |
| 8 | }" | 8 | }" |
| 9 | alias vim='nvim' | 9 | alias vim='nvim' |
| 10 | alias vimrc='vim ~/.vimrc' | ||
| 10 | alias tigrc="$EDITOR ~/.tigrc" | 11 | alias tigrc="$EDITOR ~/.tigrc" |
| 11 | alias muttrc="$EDITOR ~/.config/mutt/muttrc" | 12 | alias muttrc="$EDITOR ~/.config/mutt/muttrc" |
| 12 | alias gitconfig="$EDITOR ~/.gitconfig" | 13 | alias gitconfig="$EDITOR ~/.gitconfig" |
| @@ -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 |