mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Add some new Vim config options
This commit is contained in:
parent
0eef955425
commit
aad2c917a6
7
.vimrc
7
.vimrc
@ -129,11 +129,16 @@ noremap <Leader>p "*p
|
|||||||
noremap <Leader>Y "+y
|
noremap <Leader>Y "+y
|
||||||
noremap <Leader>P "+p
|
noremap <Leader>P "+p
|
||||||
|
|
||||||
|
" Search options
|
||||||
|
set hlsearch
|
||||||
|
set ignorecase
|
||||||
|
set smartcase
|
||||||
|
|
||||||
|
" Save aliases.
|
||||||
noremap <Leader>q :wq<CR>
|
noremap <Leader>q :wq<CR>
|
||||||
com W w
|
com W w
|
||||||
com Q q
|
com Q q
|
||||||
com Wq wq
|
com Wq wq
|
||||||
com WQ wq
|
com WQ wq
|
||||||
|
|
||||||
" Write with sudo
|
" Write with sudo
|
||||||
cmap w!! w !sudo tee > /dev/null %
|
cmap w!! w !sudo tee > /dev/null %
|
||||||
|
Loading…
Reference in New Issue
Block a user