2BXRWYE2ZSSO6G5GEVUHMX2MR2HDWJMSXCQEZDSXVYTPOYVGKEJAC VDKCTFS4SJKJNMWX4R56TMAV4CY7P3X7GRCNCX22M33AFYSL5VSAC GGKSPLOM4NMOFIKWY5DUIYUL7QFU4UQ54GWS2ER7Z3R3YW4SKVRQC XWDYSQGRZY2ALY4IS7RJNLNDAKKTLSPMHJTRNQ4NAPVTCCVQOKRAC MOVQVOTH2V43VZF7OVQ4MB2KN47YBAZ4KTPH7L4COKGFH5T7SQ3AC JXVZMI5QUFMXRE4IMUN23P3OJSPG64BILE3NGKZHG7FXOJWVBJIQC NTFTD777J7E4TZ4YKR2EXL56IRDEPAHARARVUGDTRX7OHMXWA7OAC JB324YVUIGIJPM2BUXD5MLYRHL223R2YZQDR6KTNHYG7LYFRIFHAC GG5KTOZLZKU47CB6USY7UIO22IQ4DU47ES6HKOQ336QSYKTSRJYAC 5U2VM4AB42255KJAFRVNOWHZ4MFVU3BNHH6SCOGWSBAEOJ7BITAQC EQIYV4GQF2HJB6AGRGBCSBZSETC7EZ2SOZOMYFRNNN7RODZ5EQ3QC configuration.nix
pkgs: {enable = true;#defaultEditor = true;vimAlias = true;viAlias = true;withPython = true;withNodeJs = true;withRuby = true;/* plugins = with pkgs.vimPlugins; [coc-nvimauto-pairsvim-highlightedyankvim-rooterfzf-vimbase16-vimtypescript-vimvimtexvim-airline#vim-jsx-typescript#vim-floaterm];*/configure = {packages.myVimPackage = with pkgs.vimPlugins; {#need to setup ion-vimstart = [coc-nvimauto-pairsvim-highlightedyankvim-rooterfzf-vimbase16-vimyats-vimvim-gitguttervimtexvim-airlinevim-sensiblevim-nix];opt = [ ];};customRC = ''set number relativenumberset showcmdset updatetime=300set splitbelowset tabstop=4set shiftwidth=4set expandtab
{ ... }:letpkgs = import <nixos> { };unstable = import <unstable> { };in {programs.neovim = {enable = true;#defaultEditor = true;vimAlias = true;viAlias = true;withPython = true;withNodeJs = true;withRuby = true;/* plugins = with pkgs.vimPlugins; [coc-nvimauto-pairsvim-highlightedyankvim-rooterfzf-vimbase16-vimtypescript-vimvimtexvim-airline#vim-jsx-typescript#vim-floaterm];*/configure = {packages.myVimPackage = with pkgs.vimPlugins; {#need to setup ion-vimstart = [unstable.vimPlugins.coc-nvim # coc needs to stay up to date.auto-pairsvim-highlightedyankvim-rooterfzf-vimbase16-vimyats-vimvim-gitguttervimtexvim-airlinevim-sensiblevim-nix];opt = [ ];};customRC = ''set number relativenumberset showcmdset updatetime=300set splitbelowset tabstop=4set shiftwidth=4set expandtab
" javascript and typescript use tabs instead of spaces.autocmd Filetype tsx setlocal noexpandtabautocmd Filetype jsx setlocal noexpandtabautocmd Filetype js setlocal noexpandtabautocmd Filetype ts setlocal noexpandtab
" javascript and typescript use tabs instead of spaces.autocmd Filetype tsx setlocal noexpandtabautocmd Filetype jsx setlocal noexpandtabautocmd Filetype js setlocal noexpandtabautocmd Filetype ts setlocal noexpandtab
let g:coc_global_extensions = [ 'coc-omnisharp', 'coc-rust-analyzer', 'coc-go', 'coc-actions', 'coc-emmet', 'coc-css', 'coc-tsserver', 'coc-prettier', 'coc-deno','coc-html', 'coc-eslint']
let g:coc_global_extensions = [ 'coc-omnisharp', 'coc-rust-analyzer', 'coc-go', 'coc-actions', 'coc-emmet', 'coc-css', 'coc-tsserver', 'coc-prettier', 'coc-deno','coc-html', 'coc-eslint']
" use alt+hjkl to move between split/vsplit panelstnoremap <A-h> <C-\><C-n><C-w>htnoremap <A-j> <C-\><C-n><C-w>jtnoremap <A-k> <C-\><C-n><C-w>ktnoremap <A-l> <C-\><C-n><C-w>lnnoremap <A-h> <C-w>hnnoremap <A-j> <C-w>jnnoremap <A-k> <C-w>knnoremap <A-l> <C-w>l
" git stuff.let g:gitgutter_sign_added = '✚'let g:gitgutter_sign_modified = '✹'let g:gitgutter_sign_removed = '-'let g:gitgutter_sign_removed_first_line = '-'let g:gitgutter_sign_modified_removed = '-'
inoremap <silent><expr><c-space> coc#refresh()
" use alt+hjkl to move between split/vsplit panelstnoremap <A-h> <C-\><C-n><C-w>htnoremap <A-j> <C-\><C-n><C-w>jtnoremap <A-k> <C-\><C-n><C-w>ktnoremap <A-l> <C-\><C-n><C-w>lnnoremap <A-h> <C-w>hnnoremap <A-j> <C-w>jnnoremap <A-k> <C-w>knnoremap <A-l> <C-w>l
"BASE16 themeing stufflet base16colorspace=256 " Access colors present in 256 colorspacecolorscheme $BASE16_THEME'';};/* extraConfig = ''set nocompatibleset shell=/bin/bashset hiddenset number relativenumberset showcmdset incsearchset hlsearchset shiftwidth=4set tabstop=4let mapleader=" "
autocmd BufWritePre * :silent! call CocAction('format')
"COCset cmdheight=2set updatetime=300function! s:check_back_space() abortlet col = col('.') - 1return !col || getline('.')[col - 1] =~# '\s'endfunctioninoremap <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 regionfunction! s:cocActionsOpenFromSelected(type) abortexecute 'CocCommand actions.open ' . a:typeendfunction
"BASE16 themeing stufflet base16colorspace=256 " Access colors present in 256 colorspacecolorscheme $BASE16_THEME'';};/* extraConfig = ''set nocompatibleset shell=/bin/bashset hiddenset number relativenumberset showcmdset incsearchset hlsearchset shiftwidth=4set tabstop=4let mapleader=" "
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>
"COCset cmdheight=2set updatetime=300function! s:check_back_space() abortlet col = col('.') - 1return !col || getline('.')[col - 1] =~# '\s'endfunctioninoremap <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 regionfunction! s:cocActionsOpenFromSelected(type) abortexecute 'CocCommand actions.open ' . a:typeendfunctionxmap <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 * :Formatlet g:coc_global_extensions=[ 'coc-omnisharp', 'coc-rust-analyzer', 'coc-go', 'coc-actions', 'coc-tsserver', 'coc-emmet', 'coc-css', 'coc-tsserver', 'coc-prettier']
command! -nargs=0 Format :call CocAction('format')autocmd BufWritePre * :Formatlet g:coc_global_extensions=[ 'coc-omnisharp', 'coc-rust-analyzer', 'coc-go', 'coc-actions', 'coc-tsserver', 'coc-emmet', 'coc-css', 'coc-tsserver', 'coc-prettier']"FZFlet $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()' }
"FZFlet $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()' }
function! FloatingFZF()let buf = nvim_create_buf(v:false, v:true)call setbufvar(buf, '&signcolumn', 'no')
let height = float2nr(12)let width = float2nr(80)let horizontal = float2nr((&columns - width) / 2)let vertical = 1
let opts = {\ 'relative': 'editor',\ 'row': vertical,\ 'col': horizontal,\ 'width': width,\ 'height': height,\ 'style': 'minimal'\ }
call nvim_open_win(buf, v:true, opts)endfunction
"BASE16let base16colorspace=256 " Access colors present in 256 colorspaceif filereadable(expand("~/.vimrc_background"))let base16colorspace=256source ~/.vimrc_backgroundendifset guifont=FiraCode:h12nnoremap <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''';*/
"BASE16let base16colorspace=256 " Access colors present in 256 colorspaceif filereadable(expand("~/.vimrc_background"))let base16colorspace=256source ~/.vimrc_backgroundendifset guifont=FiraCode:h12nnoremap <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''';*/
};