Switched to neovim

This commit is contained in:
2015-07-22 11:10:19 +02:00
parent 6a4ea92f40
commit 48e3d606d0
20 changed files with 2124 additions and 1 deletions

4
nvim/.nvim/.netrwhist Normal file
View File

@@ -0,0 +1,4 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =2
let g:netrw_dirhist_1='/home/tim/.nvim'
let g:netrw_dirhist_2='/home/tim/.dotfiles/nvim/.nvim'

2018
nvim/.nvim/autoload/plug.vim Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,22 @@
" Vim Compiler File
" Compiler: gradle
if exists("current_compiler")
finish
endif
let current_compiler = "gradle"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
CompilerSet makeprg=gradle
CompilerSet errorformat=
\%-G:%.%\\+,
\%E%f:\ %\\d%\\+:\ %m\ @\ line\ %l\\,\ column\ %c.,%-C%.%#,%Z%p^,
\%E%>%f:\ %\\d%\\+:\ %m,%C\ @\ line\ %l\\,\ column\ %c.,%-C%.%#,%Z%p^,
\%-G\\s%#,
\%-GBUILD\ SUCCESSFUL#,
\%-GTotal\ \time:\ %.%#

Submodule nvim/.nvim/plugged/YouCompleteMe added at b9dd9096a3

Submodule nvim/.nvim/plugged/ctrlp-py-matcher added at 9e84cf8072

Submodule nvim/.nvim/plugged/ctrlp.vim added at b5d3fe66a5

Submodule nvim/.nvim/plugged/delimitMate added at d24ad6b301

Submodule nvim/.nvim/plugged/gruvbox added at 273c030ede

Submodule nvim/.nvim/plugged/indentLine added at efce4fa4a4

Submodule nvim/.nvim/plugged/nerdtree added at 86e2e40af1

Submodule nvim/.nvim/plugged/tabular added at 60f2564881

Submodule nvim/.nvim/plugged/tagbar added at 7b36c46d17

Submodule nvim/.nvim/plugged/tcomment_vim added at d445d1a3d7

Submodule nvim/.nvim/plugged/vim-airline added at cdc6d98a09

Submodule nvim/.nvim/plugged/vim-exchange added at f8f96d83ce

Submodule nvim/.nvim/plugged/vim-matchparenalways added at 8fe259720a

Submodule nvim/.nvim/plugged/vim-surround added at 772ab9587b

Submodule nvim/.nvim/plugged/vim-tmux-navigator added at 176452ead4

64
nvim/.nvimrc Normal file
View File

@@ -0,0 +1,64 @@
call plug#begin('~/.dotfiles/nvim/.nvim/plugged')
Plug 'kien/ctrlp.vim'
Plug 'FelikZ/ctrlp-py-matcher'
Plug 'Raimondi/delimitMate'
Plug 'morhetz/gruvbox'
Plug 'Yggdroot/indentLine'
Plug 'scrooloose/nerdtree'
Plug 'godlygeek/tabular'
Plug 'majutsushi/tagbar'
Plug 'tomtom/tcomment_vim'
Plug 'bling/vim-airline'
Plug 'tommcdo/vim-exchange'
Plug 'justinmk/vim-matchparenalways'
Plug 'tpope/vim-surround'
Plug 'christoomey/vim-tmux-navigator'
Plug 'Valloric/YouCompleteMe'
call plug#end()
let g:neomake_airline=1
let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' }
let g:ctrlp_custom_ignore = '\v[\/](build|bin)$'
let delimitMate_expand_cr = 1
colorscheme gruvbox
set t_Co=256
set t_ZH=
set t_ZR=
set background=dark
let g:indentLine_char = '│'
map <silent> <M-a> :NERDTreeToggle<cr>
map <silent> <M-2> :TagbarToggle<cr>
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline_theme='gruvbox'
map <M-l> :TmuxNavigateLeft<cr>
map <M-j> :TmuxNavigateDown<cr>
map <M-k> :TmuxNavigateUp<cr>
map <M-l> :TmuxNavigateRight<cr>
syntax on
filetype plugin indent on
set smartindent
set number
set relativenumber
set laststatus=2
set softtabstop=4
set shiftwidth=4
set noexpandtab
map <silent> <tab> :bn<cr>
map <silent> <S-tab> :bp<cr>
map <S-J> <pagedown>
map <S-K> <pageup>
map <F9> :Topen gradle build<cr>

View File

@@ -16,7 +16,7 @@ export TERM="screen-256color"
#setting aliases
alias cl="clear"
alias v="vim"
alias vim="nvim"
alias tmux="tmux -2"
alias attach="tmux a"