✨ set vim leader to ',' and map ',w' to save
This commit is contained in:
parent
7b9f231771
commit
9aa4d56df8
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
set go=a
|
||||
set mouse=a
|
||||
set nohlsearch
|
||||
let mapleader=","
|
||||
|
||||
lua << EOF
|
||||
local config_file = os.getenv("HOME")..'/.local/share/nvim_color_scheme'
|
||||
|
|
@ -53,6 +54,9 @@
|
|||
" Replace-all is aliased to S.
|
||||
nnoremap S :%s//g<Left><Left>
|
||||
|
||||
" save file with ,w
|
||||
map <leader>w :w<cr><Space>
|
||||
|
||||
" spellcheck
|
||||
set spell spelllang=en_us
|
||||
setlocal spell! spelllang=en_us
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue