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