Removed the alt+movement from vimrc, took out H/L for begin/end
This commit is contained in:
28
vim/.vimrc
28
vim/.vimrc
@@ -1,4 +1,5 @@
|
||||
set nocompatible
|
||||
|
||||
filetype off
|
||||
|
||||
" general settings
|
||||
@@ -60,21 +61,16 @@ nnoremap <C-l> <C-W><C-L>
|
||||
nnoremap <C-h> <C-W><C-H>
|
||||
|
||||
" provide movements in Insert mode via the <Alt> modifier key
|
||||
inoremap <Esc>h <C-o>h
|
||||
inoremap <Esc>j <C-o>j
|
||||
inoremap <Esc>k <C-o>k
|
||||
inoremap <Esc>l <C-o>l
|
||||
inoremap <Esc>w <C-o>w
|
||||
inoremap <Esc>b <C-o>b
|
||||
inoremap <Esc>x <C-o>x
|
||||
"inoremap <Esc>h <C-o>h
|
||||
"inoremap <Esc>j <C-o>j
|
||||
"inoremap <Esc>k <C-o>k
|
||||
"inoremap <Esc>l <C-o>l
|
||||
"inoremap <Esc>w <C-o>w
|
||||
"inoremap <Esc>b <C-o>b
|
||||
"inoremap <Esc>x <C-o>x
|
||||
|
||||
" fix alt meta mappings in rxvt
|
||||
"inoremap <A-h> <ESC>a
|
||||
" H/L for beginning/end
|
||||
"noremap ^ H
|
||||
"noremap $ L
|
||||
noremap H ^
|
||||
noremap L $
|
||||
|
||||
" map ctrl-p to fzf
|
||||
nnoremap <C-p> :Files<CR>
|
||||
@@ -84,12 +80,6 @@ inoremap jj <Esc>
|
||||
inoremap jk <Esc>
|
||||
inoremap kj <Esc>
|
||||
|
||||
" set timeouts
|
||||
set ttimeout
|
||||
set ttimeoutlen=100
|
||||
set timeoutlen=300
|
||||
|
||||
|
||||
" blank lines
|
||||
nnoremap <Enter> o<ESC>
|
||||
nnoremap <S-Enter> O<ESC>
|
||||
@@ -128,8 +118,6 @@ Plug 'wellle/targets.vim'
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'scrooloose/nerdtree'
|
||||
"" nnn file manager plugin
|
||||
"Plug 'mcchrish/nnn.vim'
|
||||
|
||||
call plug#end() " end vim-plug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user