Skip to content
Snippets Groups Projects
Commit 6c6a7e11 authored by Jens Nolte's avatar Jens Nolte
Browse files

neovim: Add spellcheck binding

parent 3a1453e8
No related branches found
No related tags found
No related merge requests found
...@@ -125,6 +125,10 @@ pkgs.neovim.override { ...@@ -125,6 +125,10 @@ pkgs.neovim.override {
" <Leader>n clears the last search highlighting. " <Leader>n clears the last search highlighting.
nnoremap <Leader>n <Cmd>nohlsearch<CR> nnoremap <Leader>n <Cmd>nohlsearch<CR>
vnoremap <Leader>n <Cmd>nohlsearch<CR> vnoremap <Leader>n <Cmd>nohlsearch<CR>
" Shortcut to enable spellcheck (requires aspell installation)
nnoremap <Leader>s <Cmd>setlocal spell spelllang=en_us<CR>
''; '';
packages.myVimPackage = with pkgs.vimPlugins; { packages.myVimPackage = with pkgs.vimPlugins; {
start = [ start = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment