summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/confs
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2022-04-03 15:56:21 +0100
committerrafa_99 <raroma09@gmail.com>2022-04-03 15:56:21 +0100
commita34be948a76b5663339bee7d42b2568cb25778ad (patch)
tree323f6a67d3065494eccab9799020578e553337ce /neovim/.config/nvim/confs
parentd23dd87d1d1071bb698a09954218707f06584e7e (diff)
Removed unclutter and fixed compiler script
Diffstat (limited to 'neovim/.config/nvim/confs')
-rw-r--r--neovim/.config/nvim/confs/generic.vim10
1 files changed, 9 insertions, 1 deletions
diff --git a/neovim/.config/nvim/confs/generic.vim b/neovim/.config/nvim/confs/generic.vim
index 900e748..128f697 100644
--- a/neovim/.config/nvim/confs/generic.vim
+++ b/neovim/.config/nvim/confs/generic.vim
@@ -31,7 +31,15 @@ map <A-k> <C-w>k
map <A-l> <C-w>l
" Splits position
-set splitbelow splitright
" Auto Indent
map <Tab> gg=G
+
+" Check Spelling
+map <leader>lp :set spell spelllang=pt_pt <CR>
+map <leader>le :set spell spelllang=en_us <CR>
+map <leader>ls :set nospell <CR>
+
+" Custom Scripts
+map <F5> :!compiler '%' $(pwd) <CR>
+map <F4> :!clear && shellcheck % <CR>