Added neovim config
Fixed some minor bugs regarding neovim migration
This commit is contained in:
parent
93da641008
commit
d62002c544
|
@ -178,3 +178,4 @@ alias tdc="cd /home/jfm/Customers/TDC"
|
||||||
alias prod="ssh -fN sochi"
|
alias prod="ssh -fN sochi"
|
||||||
alias top="htop"
|
alias top="htop"
|
||||||
alias ssh="TERM=xterm-256color ssh"
|
alias ssh="TERM=xterm-256color ssh"
|
||||||
|
alias vim="nvim"
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
i3-msg "workspace 4:Work; append_layout ~/.i3/layouts/workspace4-work.json"
|
i3-msg "workspace 4:Work; append_layout ~/.i3/layouts/workspace4-work.json"
|
||||||
i3-msg "workspace 4:Work; exec termite -t shell1"
|
i3-msg "workspace 4:Work; exec termite -t shell1"
|
||||||
i3-msg "workspace 4:Work; exec termite -t shell2"
|
i3-msg "workspace 4:Work; exec termite -t shell2"
|
||||||
i3-msg "workspace 4:Work; exec termite -t vim -e vim"
|
i3-msg "workspace 4:Work; exec termite -t vim -e nvim"
|
||||||
i3-msg "workspace 4:Work; move workspace to output $PRIMARY"
|
i3-msg "workspace 4:Work; move workspace to output $PRIMARY"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,42 @@
|
||||||
|
syntax on
|
||||||
|
filetype indent on
|
||||||
|
|
||||||
|
set encoding=utf-8
|
||||||
|
set clipboard=unnamed
|
||||||
|
set smartindent
|
||||||
|
set shiftwidth=2
|
||||||
|
set tabstop=2
|
||||||
|
set expandtab
|
||||||
|
set number
|
||||||
|
set autoread
|
||||||
|
set background=dark
|
||||||
|
colorscheme solarized
|
||||||
|
|
||||||
|
"NERDTree
|
||||||
|
let NERDTreeShowHidden=1
|
||||||
|
let g:NERDTreeDirArrowExpandable = '▸'
|
||||||
|
let g:NERDTreeDirArrowCollapsible = '▾'
|
||||||
|
|
||||||
|
"Airline
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:Powerline_symbols='unicode'
|
||||||
|
let g:airline_powerline_fonts = 1
|
||||||
|
let g:airline_theme='solarized'
|
||||||
|
let g:airline_solarized_bg='dark'
|
||||||
|
|
||||||
|
"YCM
|
||||||
|
let g:ycm_python_binary_path = '/usr/bin/python3'
|
||||||
|
let g:ycm_server_python_interpreter = 'python2'
|
||||||
|
let g:ycm_autoclose_preview_window_after_completion=1
|
||||||
|
let g:ycm_min_num_of_chars_for_completion=10
|
||||||
|
|
||||||
|
"Mappings
|
||||||
|
:nmap <c-s> :w<CR>
|
||||||
|
:imap <c-s> <Esc>:w<CR>a
|
||||||
|
nnoremap <F7> :bp<CR>
|
||||||
|
nnoremap <F8> :bn<CR>
|
||||||
|
map <C-n> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
"AutoCommands
|
||||||
|
au BufWinEnter * set number
|
||||||
|
au FileType xml setlocal equalprg=xmllint\ --format\ --recover\ -\ 2>/dev/null
|
|
@ -9,6 +9,8 @@ set tabstop=2
|
||||||
set expandtab
|
set expandtab
|
||||||
set number
|
set number
|
||||||
set autoread
|
set autoread
|
||||||
|
set background=dark
|
||||||
|
colorscheme solarized
|
||||||
|
|
||||||
"NERDTree
|
"NERDTree
|
||||||
let NERDTreeShowHidden=1
|
let NERDTreeShowHidden=1
|
||||||
|
|
Loading…
Reference in New Issue