Colorscheme, fzf, binding fix.
This commit is contained in:
parent
f4973b9c58
commit
48ce2e40c7
1 changed files with 8 additions and 4 deletions
12
vim/init.vim
12
vim/init.vim
|
@ -15,7 +15,6 @@ set cursorline
|
||||||
set cursorcolumn
|
set cursorcolumn
|
||||||
set nojoinspaces
|
set nojoinspaces
|
||||||
set nowritebackup
|
set nowritebackup
|
||||||
set termguicolors
|
|
||||||
|
|
||||||
set bs=2
|
set bs=2
|
||||||
set shell=sh
|
set shell=sh
|
||||||
|
@ -28,8 +27,9 @@ set winminheight=0
|
||||||
set backspace=eol,start,indent
|
set backspace=eol,start,indent
|
||||||
set matchpairs+=(:),{:},[:],<:>,':',":"
|
set matchpairs+=(:),{:},[:],<:>,':',":"
|
||||||
|
|
||||||
nmap <tab> w
|
nmap <tab> <C-w>w
|
||||||
nmap <Esc><CR> :wq!<CR>
|
nmap <Esc><CR> :wq!<CR>
|
||||||
|
nmap <C-p> :Files<CR>
|
||||||
|
|
||||||
map <leader>b <Esc>:set cc=79<CR>
|
map <leader>b <Esc>:set cc=79<CR>
|
||||||
map <leader>nb <Esc>:set cc=0<CR>
|
map <leader>nb <Esc>:set cc=0<CR>
|
||||||
|
@ -52,14 +52,15 @@ Plug 'tpope/vim-fugitive'
|
||||||
Plug 'scrooloose/syntastic'
|
Plug 'scrooloose/syntastic'
|
||||||
Plug 'edkolev/tmuxline.vim'
|
Plug 'edkolev/tmuxline.vim'
|
||||||
Plug 'itchyny/lightline.vim'
|
Plug 'itchyny/lightline.vim'
|
||||||
Plug 'brendonrapp/smyck-vim'
|
|
||||||
Plug 'bitc/vim-bad-whitespace'
|
Plug 'bitc/vim-bad-whitespace'
|
||||||
Plug '/usr/local/opt/fzf'
|
Plug '/usr/local/opt/fzf'
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
|
Plug 'fatih/molokai'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
colorscheme smyck
|
colorscheme molokai
|
||||||
|
let g:rehash256=1
|
||||||
set background=dark
|
set background=dark
|
||||||
hi BadWhitespace ctermbg=lightblue guibg=lightblue
|
hi BadWhitespace ctermbg=lightblue guibg=lightblue
|
||||||
if has("gui_macvim")
|
if has("gui_macvim")
|
||||||
|
@ -69,6 +70,9 @@ if has("gui_macvim")
|
||||||
set guifont=Hack:h13
|
set guifont=Hack:h13
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
command! -bang -nargs=? -complete=dir Files
|
||||||
|
\ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--height=80%', '--preview', 'bat --color=always --tabs=2 --style=plain --theme="Monokai Extended" {}']}, <bang>0)
|
||||||
|
|
||||||
let g:syntastic_auto_jump = 1
|
let g:syntastic_auto_jump = 1
|
||||||
let g:syntastic_enable_signs = 1
|
let g:syntastic_enable_signs = 1
|
||||||
let g:syntastic_auto_loc_list = 1
|
let g:syntastic_auto_loc_list = 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue