Big changes, don't remember all of them

One thing is more DAP configuration
This commit is contained in:
PowerUser64 2021-09-16 02:17:07 -07:00
parent 9a47de5f8e
commit e43cf4aaad
5 changed files with 54 additions and 45 deletions

View file

@ -58,21 +58,24 @@ vim.cmd [[
""" Key bindings
let mapleader = " "
" *sigh*...
" *sigh*...
command! Q q
command! W w
command! Wq wq
command! WQ wq
" nnoremap ; :
" vnoremap ; :
" Press Alt h to toggle highlighting on/off, and show current value.
" Press Alt h to toggle highlighting on/off, and show current value.
noremap <M-h> <cmd>set hlsearch! hlsearch?<CR>
noremap <M-S> <cmd>set spell! spell?<CR>
" Escape to enter normal mode in the terminal
" Escape to enter normal mode in the terminal
tnoremap <Esc> <C-\><C-n>
" Replace with alt S
" Replace with alt S
nnoremap <M-s> :%s//g<Left><Left>
" Move lines around in visual mode with J and K
" Move lines around in visual mode with J and K
vnoremap J :m '>+1<CR>gv=gv
vnoremap K :m '<-2<CR>gv=gv