1
0
Fork 0
dotfiles/neovim/init.vim
2017-12-05 01:39:20 -08:00

80 lines
1.3 KiB
VimL

if &compatible
set nocompatible
endif
set runtimepath+=~/.config/nvim/plugins/repos/github.com/Shougo/dein.vim
if dein#load_state('~/.config/nvim/plugins')
call dein#begin('~/.config/nvim/plugins')
" let dein manage itself
call dein#add('Shougo/dein.vim')
call dein#add('Shougo/deoplete.nvim')
call dein#add('Shougo/denite.nvim')
call dein#end()
call dein#save_state()
endif
if dein#check_install()
call dein#install()
endif
filetype plugin indent on
syntax enable
set number
set t_Co=256
set background=dark
colorscheme jdkaplan
set expandtab
set tabstop=4
set softtabstop=4
set shiftwidth=4
set wrap
set linebreak
set nolist
set textwidth=0
set wrapmargin=0
set ignorecase
set smartcase
set cursorline
set cursorcolumn
set shortmess+=I
set virtualedit=
set display+=lastline
noremap <silent> k gk
noremap <silent> j gj
map ; :
noremap ;; ;
map ;n :nohlsearch<CR>
map ;h :wincmd h<CR>
map ;j :wincmd j<CR>
map ;k :wincmd k<CR>
map ;l :wincmd l<CR>
map ;" :split<CR>
map ;% :vsplit<CR>
map ;0 :close<CR>
map ;w :w<CR>
map ;b :Denite buffer<CR>
map ;e :Denite file buffer<CR>
map ;f :Denite file buffer<CR>
map ;q :q<CR>
map ;x :x<CR>
let g:deoplete#enable_at_startup = 1
autocmd BufEnter * EnableStripWhitespaceOnSave
autocmd BufNewFile,BufRead *.tako set filetype=python