AG6NZ2XYXP73NZLHV6LTAS3SKERCWGHV25KOF6NYHWJGUH5QJ6KAC
FXRGKZ6HAHLJ3CDZFLCPJNISJCDU3C5OYRSGIIBZS5Z3GZYVUK2AC
DVAYYZXBNNEQ2UNGHYYOQ4R7A66AMME62F2I7RT2BBBS5GKLWT7AC
XWDYSQGRZY2ALY4IS7RJNLNDAKKTLSPMHJTRNQ4NAPVTCCVQOKRAC
NID74IBESPTJUVIH7G6VBVJXUY7GBX654AMIG2MWFHFRMI7RZXAQC
2BXRWYE2ZSSO6G5GEVUHMX2MR2HDWJMSXCQEZDSXVYTPOYVGKEJAC
F2MVE4TY5BDP4DULREZSJVPB4GEGV72LASYSMUDBQQO56NSV7ZXAC
NTFTD777J7E4TZ4YKR2EXL56IRDEPAHARARVUGDTRX7OHMXWA7OAC
MOVQVOTH2V43VZF7OVQ4MB2KN47YBAZ4KTPH7L4COKGFH5T7SQ3AC
754YTU7I36EMCIJM5HYFKQUMQSC4S2CIBBZIN7QTJ7KGHEKIGY2QC
start = with pkgs.vimPlugins; [
unstable.vimPlugins.coc-nvim # coc needs to stay up to date.
auto-pairs
vim-highlightedyank
vim-rooter
fzf-vim
base16-vim
yats-vim
vim-gitgutter
vimtex
vim-airline
vim-sensible
vim-nix
] ++ [
(buildVimPlugin {
pname = "vimpeccable";
version = "10-31-2020";
src = (pkgs.fetchFromGitHub {
owner = "svermeulen";
repo = "vimpeccable";
rev = "00300b311de64d91b3facc1e4a6fe11463735e68";
sha256 = "0mb8a7ypd6pvbjpa46h9hmc8isvxfmn7dq5gcpdg6h2wmkgrv4c4";
});
})
];
start = with pkgs.vimPlugins;
[
unstable.vimPlugins.coc-nvim # coc needs to stay up to date.
auto-pairs
vim-highlightedyank
vim-rooter
fzf-vim
base16-vim
yats-vim
vim-gitgutter
vimtex
vim-airline
vim-sensible
vim-nix
] ++ [
(buildVimPlugin {
pname = "vimpeccable";
version = "10-31-2020";
src = (pkgs.fetchFromGitHub {
owner = "svermeulen";
repo = "vimpeccable";
rev = "00300b311de64d91b3facc1e4a6fe11463735e68";
sha256 = "0mb8a7ypd6pvbjpa46h9hmc8isvxfmn7dq5gcpdg6h2wmkgrv4c4";
});
})
];
set nocompatible
set shell=/bin/bash
set hidden
set number relativenumber
set showcmd
set incsearch
set hlsearch
set shiftwidth=4
set tabstop=4
let mapleader=" "
set nocompatible
set shell=/bin/bash
set hidden
set number relativenumber
set showcmd
set incsearch
set hlsearch
set shiftwidth=4
set tabstop=4
let mapleader=" "
"COC
set cmdheight=2
set updatetime=300
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
endfunction
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ coc#refresh()
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
nmap <silent> gd <Plug>(coc-definition)
" Remap for do codeAction of selected region
function! s:cocActionsOpenFromSelected(type) abort
execute 'CocCommand actions.open ' . a:type
endfunction
"COC
set cmdheight=2
set updatetime=300
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
endfunction
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ coc#refresh()
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
nmap <silent> gd <Plug>(coc-definition)
" Remap for do codeAction of selected region
function! s:cocActionsOpenFromSelected(type) abort
execute 'CocCommand actions.open ' . a:type
endfunction
xmap <leader>a <Plug>(coc-codeaction-selected)
nmap <leader>a <Plug>(coc-codeaction-selected)
xmap <silent> <leader>a :<C-u>execute 'CocCommand actions.open ' . visualmode()<CR>
nmap <silent> <leader>a :<C-u>set operatorfunc=<SID>cocActionsOpenFromSelected<CR>
xmap <leader>a <Plug>(coc-codeaction-selected)
nmap <leader>a <Plug>(coc-codeaction-selected)
xmap <silent> <leader>a :<C-u>execute 'CocCommand actions.open ' . visualmode()<CR>
nmap <silent> <leader>a :<C-u>set operatorfunc=<SID>cocActionsOpenFromSelected<CR>
command! -nargs=0 Format :call CocAction('format')
autocmd BufWritePre * :Format
let g:coc_global_extensions=[ 'coc-omnisharp', 'coc-rust-analyzer', 'coc-go', 'coc-actions', 'coc-tsserver', 'coc-emmet', 'coc-css', 'coc-tsserver', 'coc-prettier']
"FZF
let $FZF_DEFAULT_COMMAND = "rg --files"
let $FZF_DEFAULT_OPTS=' --color=dark --color=fg:15,bg:-1,hl:1,fg+:#ffffff,bg+:#343D46,hl+:1 --color=info:0,prompt:0,pointer:12,marker:4,spinner:11,header:-1 --layout=reverse --margin=1,4'
let g:fzf_layout = { 'window': 'call FloatingFZF()' }
command! -nargs=0 Format :call CocAction('format')
autocmd BufWritePre * :Format
let g:coc_global_extensions=[ 'coc-omnisharp', 'coc-rust-analyzer', 'coc-go', 'coc-actions', 'coc-tsserver', 'coc-emmet', 'coc-css', 'coc-tsserver', 'coc-prettier']
"FZF
let $FZF_DEFAULT_COMMAND = "rg --files"
let $FZF_DEFAULT_OPTS=' --color=dark --color=fg:15,bg:-1,hl:1,fg+:#ffffff,bg+:#343D46,hl+:1 --color=info:0,prompt:0,pointer:12,marker:4,spinner:11,header:-1 --layout=reverse --margin=1,4'
let g:fzf_layout = { 'window': 'call FloatingFZF()' }
let opts = {
\ 'relative': 'editor',
\ 'row': vertical,
\ 'col': horizontal,
\ 'width': width,
\ 'height': height,
\ 'style': 'minimal'
\ }
let opts = {
\ 'relative': 'editor',
\ 'row': vertical,
\ 'col': horizontal,
\ 'width': width,
\ 'height': height,
\ 'style': 'minimal'
\ }
"BASE16
let base16colorspace=256 " Access colors present in 256 colorspace
if filereadable(expand("~/.vimrc_background"))
let base16colorspace=256
source ~/.vimrc_background
endif
set guifont=FiraCode:h12
nnoremap <c-t> :FloatermToggle <CR>
nnoremap <silent> ; :call fzf#vim#files('.', {'options': '--prompt ""'})<CR> nnoremap <silent> <leader>b :Buffers<CR>
noremap <c-c> <esc>
let g:vimtex_view_general_viewer = 'zathura'
'';
"BASE16
let base16colorspace=256 " Access colors present in 256 colorspace
if filereadable(expand("~/.vimrc_background"))
let base16colorspace=256
source ~/.vimrc_background
endif
set guifont=FiraCode:h12
nnoremap <c-t> :FloatermToggle <CR>
nnoremap <silent> ; :call fzf#vim#files('.', {'options': '--prompt ""'})<CR> nnoremap <silent> <leader>b :Buffers<CR>
noremap <c-c> <esc>
let g:vimtex_view_general_viewer = 'zathura'
'';
[
bbenoist.Nix
ms-vscode.cpptools
ms-python.python
vscodevim.vim
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
[ bbenoist.Nix ms-vscode.cpptools ms-python.python vscodevim.vim ]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [