NID74IBESPTJUVIH7G6VBVJXUY7GBX654AMIG2MWFHFRMI7RZXAQC 2BXRWYE2ZSSO6G5GEVUHMX2MR2HDWJMSXCQEZDSXVYTPOYVGKEJAC XWDYSQGRZY2ALY4IS7RJNLNDAKKTLSPMHJTRNQ4NAPVTCCVQOKRAC JB324YVUIGIJPM2BUXD5MLYRHL223R2YZQDR6KTNHYG7LYFRIFHAC GG5KTOZLZKU47CB6USY7UIO22IQ4DU47ES6HKOQ336QSYKTSRJYAC NTFTD777J7E4TZ4YKR2EXL56IRDEPAHARARVUGDTRX7OHMXWA7OAC MOVQVOTH2V43VZF7OVQ4MB2KN47YBAZ4KTPH7L4COKGFH5T7SQ3AC EQIYV4GQF2HJB6AGRGBCSBZSETC7EZ2SOZOMYFRNNN7RODZ5EQ3QC I25MEXARE4V66FEQ5PM2O6GYQWFH6YB5CUAB76ZJSZAJLDUP47RAC 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 noexpandtablet g:tex_flavor = 'latex'let g:vimtex_view_general_viewer = 'zathura'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']function! OpenTerminal()split term://ionresize 10endfunctionnnoremap <c-n> <silent> :call OpenTerminal()<CR>" 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 = '-'" 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>linoremap <silent><expr><c-space> coc#refresh()nmap <silent> gd <Plug>(coc-definition)nmap <silent> gy <Plug>(coc-type-definition)nmap <silent> gi <Plug>(coc-implementation)nmap <silent> gr <Plug>(coc-references)autocmd BufWritePre * :silent! call CocAction('format')"BASE16 themeing stufflet base16colorspace=256 " Access colors present in 256 colorspacecolorscheme $BASE16_THEME'';
customRC = "lua require('config')";
lua require('config')
local setOptions = function()local scopes = {o = vim.o, b = vim.bo, w = vim.wo}local opt = function(scope, key, value)scopes[scope][key] = valueif scope ~= 'o' then scopes['o'][key] = value endendvim.wo.relativenumber = truevim.wo.number = truevim.bo.shiftwidth = 4vim.bo.tabstop = 4vim.bo.expandtab = truevim.o.updatetime = 300vim.o.splitbelow = truevim.o.termguicolors = truevim.o.showcmd = trueendlocal latexSetUp = function()vim.g.tex_flavor = 'latex'vim.g.vimtex_view_general_viewer = 'zathura'endlocal cocSetUp = function()vim.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'}vim.api.nvim_command('autocmd BufWritePre * :silent! call CocAction(\'format\')')end-- Makes a window and returns it's buffer.local make_window = function(width, height, x, y, style, relative)local buf = vim.api.nvim_create_buf(false, true)local opts = {style = style,relative = relative,width = width,height = height,row = x,col = y}local win = vim.api.nvim_open_win(buf, true, opts)return bufend--Opens a terminal in a floating window.local OpenTerminal = function()local width = vim.api.nvim_get_option("columns")local height = vim.api.nvim_get_option("lines")local win_height = math.ceil(height * 0.8)local win_width = math.ceil(width * 0.8)local col_pos = math.floor(width * 0.1)local row_pos = math.floor(height * 0.1)local buffer = make_window(win_width, win_height, row_pos, col_pos, "minimal", "editor")vim.api.nvim_command('term')endlocal gitgutterSetUp = function()vim.g.gitgutter_sign_added = '✚'vim.g.gitgutter_sign_modified = '✹'vim.g.gitgutter_sign_removed = '-'vim.g.gitgutter_sign_removed_first_line = '-'vim.g.gitgutter_sign_modified_removed = '-'endlocal setUpAll = function()setOptions()gitgutterSetUp()latexSetUp()cocSetUp()endlocal setKeybindings = function()--keybindingsvimp.nnoremap({'silent'}, '<c-n>', OpenTerminal)vimp.bind('ni','<A-h>', function() vim.cmd(':wincmd h') end)vimp.bind('ni','<A-j>', function() vim.cmd(':wincmd j') end)vimp.bind('ni','<A-k>', function() vim.cmd(':wincmd k') end)vimp.bind('ni','<A-l>', function() vim.cmd(':wincmd l') end)vimp.bind('n', 'gd<Plug>', '(coc-definition)' )vimp.bind('n', 'gy<Plug>', '(coc-type-definition)')end-- entry pointlocal main = function()--set colorvim.cmd('colorscheme base16-gruvbox-dark-hard')setKeybindings()setUpAll()endmain()
self: super:let unstable = import<unstable> {};in{neovim-unwrapped = super.neovim-unwrapped.overrideAttrs(oldAttrs: {version = "01-27-2021";src = self.fetchFromGitHub {owner = "neovim";repo = "neovim";rev = "459a6c845e87662aa9aa0d6a0a68dc8d817a0498";sha256 = "0qs05mq70z7hqqmch7siyng4bry1r2fc36iw0pkyzfiy9rv5fvlq";};buildInputs = (oldAttrs.buildInputs ++ ([ unstable.tree-sitter ]));cmakeFlags = oldAttrs.cmakeFlags ++ ["-DUSE_BUNDLED=OFF"];});}