Update vimrc and zshrc

This commit is contained in:
Rob Watson 2021-01-17 09:30:47 +01:00
parent 15c4583bfa
commit 03bd0e9cee
2 changed files with 9 additions and 2 deletions

9
vimrc
View File

@ -46,7 +46,6 @@ set novisualbell
set noerrorbells
set nobackup
set noswapfile
set clipboard=unnamed
set ttymouse=sgr
set mouse=a
set mousemodel=popup_setpos
@ -80,6 +79,12 @@ map <up> <nop>
map <down> <nop>
map <left> <nop>
map <right> <nop>
imap <up> <nop>
imap <down> <nop>
imap <left> <nop>
imap <right> <nop>
nmap <silent> ,/ :nohlsearch<CR>
map <c-t> <esc>:tabnew<cr>
" Select just-pasted text:
nnoremap <Leader>0 `[v`]
@ -114,7 +119,7 @@ map <Leader>* :call RequestGrep()<CR>
map <Leader>8 :call RequestGrep()<CR>
" vim-markdown configuration:
let g:vim_markdown_conceal = 3
let g:vim_markdown_conceal = 1
" Command-T configuration:
let switchbuf="usetab"

2
zshrc
View File

@ -129,6 +129,8 @@ git config --global alias.br branch
alias sysc="systemctl"
alias hib="sudo systemctl hibernate"
alias dcd="docker-compose -f docker-compose.yml -f docker-compose.development.yml"
alias tmkp="tmux kill-pane"
alias tmkw="tmux kill-window"
# TODO add wg
# recursive grep with line numbers and colour, ignoring binary files: