dunstrc, some bash and x changes
This commit is contained in:
16
vim/.vimrc
16
vim/.vimrc
@@ -59,6 +59,17 @@ nnoremap <C-k> <C-W><C-K>
|
||||
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
|
||||
|
||||
" fix alt meta mappings in rxvt
|
||||
"inoremap <A-h> <ESC>a
|
||||
" map ctrl-p to fzf
|
||||
nnoremap <C-p> :Files<CR>
|
||||
|
||||
@@ -67,6 +78,7 @@ inoremap jj <Esc>
|
||||
inoremap jk <Esc>
|
||||
inoremap kj <Esc>
|
||||
|
||||
|
||||
" blank lines
|
||||
nnoremap <Enter> o<ESC>
|
||||
nnoremap <S-Enter> O<ESC>
|
||||
@@ -75,8 +87,6 @@ nnoremap <leader>l :ls<CR>:b<Space>
|
||||
nnoremap <Tab> :bnext<CR>
|
||||
nnoremap <S-Tab> :bprev<CR>
|
||||
|
||||
nnoremap <space> za
|
||||
|
||||
map <C-n> :NnnPicker<CR>
|
||||
" Opens the nnn window in a split
|
||||
let g:nnn#layout = { 'left': '~30%' } " or right, up, down
|
||||
@@ -91,7 +101,6 @@ call plug#begin('~/.vim/plugged') " vim-plug
|
||||
|
||||
Plug 'VundleVim/Vundle.vim'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'tmhedberg/SimpylFold'
|
||||
Plug 'vim-scripts/indentpython.vim'
|
||||
Plug 'scrooloose/syntastic'
|
||||
Plug 'nvie/vim-flake8' " PEP 8 checking plugin
|
||||
@@ -133,3 +142,4 @@ let g:lightline = {
|
||||
\ 'separator': '',
|
||||
\ },
|
||||
\ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user