feat: add a mapping to make the file executable

Press Ctrl+x in Vim to make the current file executable. Useful when
writing bash scripts.
This commit is contained in:
Oliver Davies 2021-09-17 21:29:22 +01:00
parent e699c03b90
commit 92d1ddeff2

View file

@ -40,6 +40,7 @@ call s:SourceConfigFilesIn('plugins')
" Remaps
nnoremap <Leader>so :so ~/.config/nvim/init.vim<CR>
nnoremap <Leader>x :!chmod +x %<CR>
" Remove arrow keys
noremap <up> <nop>