Add vim command to trim whitespace from line endings.
This commit is contained in:
parent
c4121b150c
commit
dc0e302e86
4
.vimrc
4
.vimrc
@ -84,4 +84,8 @@ nmap <Leader>ws :w<CR>:silent !git add %<CR>:!git commit<CR>
|
|||||||
|
|
||||||
nmap <Leader>b :CtrlPBuffer<CR>
|
nmap <Leader>b :CtrlPBuffer<CR>
|
||||||
|
|
||||||
|
" Format Bible quotes in Markdown (bold verse numbers)
|
||||||
vmap <Leader>qb :s/\v\s+(\d+)\s+/ **\1** /g<CR>
|
vmap <Leader>qb :s/\v\s+(\d+)\s+/ **\1** /g<CR>
|
||||||
|
|
||||||
|
" remove trailing whitespace from all lines
|
||||||
|
nmap <Leader>ss :%s/\s\+$//<CR>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user