Created
September 14, 2018 08:31
-
-
Save coline-carle/8d90a283ee17405d5cc2675c89a11f39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packadd minpac | |
call minpac#init() | |
call minpac#add('tpope/vim-unimpaired') | |
call minpac#add('tpope/vim-dispatch') | |
call minpac#add('tpope/vim-projectionist') | |
call minpac#add('tpope/vim-obsession') | |
call minpac#add('radenling/vim-dispatch-neovim') | |
call minpac#add('mhinz/vim-grepper') | |
call minpac#add('itchyny/lightline.vim') | |
call minpac#add('w0rp/ale') | |
call minpac#add('janko-m/vim-test') | |
call minpac#add('sgur/vim-editorconfig') | |
call minpac#add('fatih/vim-go') | |
call minpac#add('dracula/vim', {'as': 'dracula'}) | |
call minpac#add('miyakogi/conoline.vim') | |
call minpac#add('mattn/webapi-vim') | |
call minpac#add('mattn/gist-vim') | |
color dracula | |
set background=dark | |
let g:conoline_auto_enable = 1 | |
" most stupid remap | |
inoremap jk <esc> | |
set runtimepath^=~/.fzf | |
runtime plugin/fzf.vim | |
let mapleader="\<SPACE>" | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set nojoinspaces " 2 space after punctuation | |
set splitbelow | |
set splitright | |
set number | |
set ignorecase | |
set smartcase | |
set gdefault " global by default for regexp | |
set laststatus=2 | |
set noshowmode | |
let g:lightline = { | |
\ 'colorscheme': 'wombat', | |
\ } | |
nnoremap <C-p> :<C-u>FZF<CR> | |
nmap < [ | |
nmap > ] | |
omap < [ | |
omap > ] | |
xmap < [ | |
xmap > ] | |
nmap <silent> (W <Plug>(ale_first) | |
nmap <silent> (w <Plug>(ale_previous) | |
nmap <silent> )w <Plug>(ale_next) | |
nmap <silent> )W <Plug>(ale_last) | |
nnoremap <leader>ce :e ~/.config/nvim/init.vim<CR> | |
nnoremap <leader>cr :e ~/.config/nvim/init.vim<CR> | |
nnoremap <leader>cu :call minpac#update()<CR> | |
let g:gist_detect_filetype = 1 | |
let g:gist_clip_command = 'win32yank' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment