Small fixes
This commit is contained in:
@@ -14,13 +14,12 @@ set autoread
|
|||||||
set history=700
|
set history=700
|
||||||
set nohlsearch
|
set nohlsearch
|
||||||
set relativenumber
|
set relativenumber
|
||||||
let so=999
|
set so=999
|
||||||
let mapleader = ','
|
let mapleader = ','
|
||||||
|
|
||||||
map H :tabp<CR>
|
map H :tabp<CR>
|
||||||
map L :tabn<CR>
|
map L :tabn<CR>
|
||||||
"map <Leader>q :tabo|%bd|e#<CR>
|
"map <Leader>q :tabo|%bd|e#<CR>
|
||||||
map <Leader>S :exec 'Ag' expand('<cword>')<CR>
|
|
||||||
|
|
||||||
call plug#begin('~/.nvim/plugged')
|
call plug#begin('~/.nvim/plugged')
|
||||||
|
|
||||||
@@ -37,6 +36,7 @@ map <Leader>g :GFiles?<CR>
|
|||||||
map <Leader>c :BCommits<CR>
|
map <Leader>c :BCommits<CR>
|
||||||
map <Leader>/ :exec 'BLines' expand('<cword>')<CR>
|
map <Leader>/ :exec 'BLines' expand('<cword>')<CR>
|
||||||
map <Leader>? :exec 'Lines' expand('<cword>')<CR>
|
map <Leader>? :exec 'Lines' expand('<cword>')<CR>
|
||||||
|
map <Leader>s :exec 'Ag' expand('<cword>')<CR>
|
||||||
|
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
|
|
||||||
@@ -46,6 +46,8 @@ Plug 'jiangmiao/auto-pairs'
|
|||||||
|
|
||||||
Plug 'sheerun/vim-polyglot'
|
Plug 'sheerun/vim-polyglot'
|
||||||
Plug 'tpope/vim-endwise'
|
Plug 'tpope/vim-endwise'
|
||||||
|
Plug 'dln/avro-vim'
|
||||||
|
au BufRead,BufNewFile *.avdl setlocal filetype=avro-idl
|
||||||
|
|
||||||
" Completion
|
" Completion
|
||||||
"Plug 'roxma/nvim-completion-manager'
|
"Plug 'roxma/nvim-completion-manager'
|
||||||
@@ -58,6 +60,9 @@ let g:deoplete#enable_at_startup = 1
|
|||||||
|
|
||||||
Plug 'Shougo/neco-syntax'
|
Plug 'Shougo/neco-syntax'
|
||||||
|
|
||||||
|
Plug 'Yggdroot/indentLine'
|
||||||
|
let g:indentLine_enabled = 0
|
||||||
|
|
||||||
Plug 'SirVer/ultisnips'
|
Plug 'SirVer/ultisnips'
|
||||||
Plug 'honza/vim-snippets'
|
Plug 'honza/vim-snippets'
|
||||||
let g:UltiSnipsExpandTrigger="<c-l>"
|
let g:UltiSnipsExpandTrigger="<c-l>"
|
||||||
@@ -80,8 +85,10 @@ let g:lightline = {
|
|||||||
Plug 'Shougo/context_filetype.vim'
|
Plug 'Shougo/context_filetype.vim'
|
||||||
Plug 'joker1007/vim-ruby-heredoc-syntax'
|
Plug 'joker1007/vim-ruby-heredoc-syntax'
|
||||||
|
|
||||||
Plug 'neomake/neomake'
|
Plug 'w0rp/ale'
|
||||||
autocmd! BufWritePost * Neomake
|
let b:ale_ruby_rubocop_executable='docker-compose run --rm rubocop rubocop'
|
||||||
|
"Plug 'neomake/neomake'
|
||||||
|
"autocmd! BufWritePost * Neomake
|
||||||
|
|
||||||
Plug 'scrooloose/nerdcommenter'
|
Plug 'scrooloose/nerdcommenter'
|
||||||
|
|
||||||
@@ -94,3 +101,7 @@ call plug#end()
|
|||||||
|
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme railscasts
|
colorscheme railscasts
|
||||||
|
|
||||||
|
command! -bang -nargs=* Tmux
|
||||||
|
\ call fzf#complete(
|
||||||
|
\ { 'source': 'tmuxinator list'})
|
||||||
|
|||||||
Reference in New Issue
Block a user