Add alias, disable arrows in vim, fix kn/keg

main
rwxrob 11 months ago
parent fecfa9df2f
commit 8d9a7bca08

@ -255,7 +255,7 @@ alias coin="clip '(yes|no)'"
alias iam=live
alias neo="neo -D -c gold"
alias more="less"
alias kn="keg"
alias disclaimer="clear; now; zet view disclaimer"
_have vim && alias vi=vim

@ -100,7 +100,7 @@ set -g status-left ""
#set -g status-right "%a, %b %-e, %Y, %-l:%M:%S%p %Z%0z"
#set -g status-right-style "fg=#928374,bold"
set -g status-right-length 50
set -g status-right "#(z pomo)"
set -g status-right "#(pomo)"
#set -g window-status-format ""
#set -g window-status-current-format ""

@ -104,6 +104,7 @@ set noshowmatch
" wrap around when searching
set wrapscan
set nowrap
" Just the formatoptions defaults, these are changed per filetype by
" plugins. Most of the utility of all of this has been superceded by the use of
@ -361,14 +362,14 @@ map <F12> :set fdm=indent<CR>
nmap <leader>2 :set paste<CR>i
" disable arrow keys (vi muscle memory)
"noremap <up> :echoerr "Umm, use k instead"<CR>
"noremap <down> :echoerr "Umm, use j instead"<CR>
"noremap <left> :echoerr "Umm, use h instead"<CR>
"noremap <right> :echoerr "Umm, use l instead"<CR>
"inoremap <up> <NOP>
" inoremap <down> <NOP>
" inoremap <left> <NOP>
" inoremap <right> <NOP>
noremap <up> :echoerr "Umm, use k instead"<CR>
noremap <down> :echoerr "Umm, use j instead"<CR>
noremap <left> :echoerr "Umm, use h instead"<CR>
noremap <right> :echoerr "Umm, use l instead"<CR>
inoremap <up> <NOP>
inoremap <down> <NOP>
inoremap <left> <NOP>
inoremap <right> <NOP>
"
" better use of arrow keys, number increment/decrement
nnoremap <up> <C-a>

Loading…
Cancel
Save