X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/9603dc4bd113317d57643c269f3dff0076247116..04b083ae65a38409a668aa0ca8e8b59904f08e60:/config/nvim/init.lua diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 994ebef..26b7156 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -26,7 +26,6 @@ vim.opt.smartcase = true -- Unless we use both cases in searc -- Autocomplete Behavior vim.opt.wildmode = 'list:longest,list:full' -- Autocomplete common matching string - -- first, and then the full match. -- Folding Behavior vim.opt.foldmethod = 'syntax' -- Use syntax highlight to define folds @@ -79,48 +78,24 @@ pcall(require, 'init_local') -- Plugin Specific Behavior ------------------------------------------------------------------------------- -- FZF -vim.keymap.set('', '', ':FZF ') -vim.g.fzf_layout = { down = '40%' } -vim.g.fzf_colors = { - fg = {'fg', 'Normal'}, - bg = {'bg', 'Normal'}, - hl = {'fg', 'Comment'}, - ['fg+'] = {'fg', 'CursorLine', 'CursorColumn', 'Normal'}, - ['bg+'] = {'bg', 'CursorLine', 'CursorColumn'}, - ['hl+'] = {'fg', 'Statement'}, - info = {'fg', 'PreProc'}, - border = {'fg', 'Ignore'}, - prompt = {'fg', 'Conditional'}, - pointer = {'fg', 'Exception'}, - marker = {'fg', 'Keyword'}, - spinner = {'fg', 'Label'}, - header = {'fg', 'Comment'} -} - +vim.keymap.set("n", "", + "lua require('fzf-lua').files({ fzf_opts = {} })", { silent = true }) -- Svelte Config vim.g.vim_svelte_plugin_use_typescript = true --- Limelight / Goyo config - -vim.g.limelight_conceal_ctermfg = 'gray' -vim.g.limelight_conceal_guifg = 'DarkGray' - -vim.api.nvim_create_autocmd({'User'}, { - pattern = 'GoyoEnter', - command = 'Limelight' -}) -vim.api.nvim_create_autocmd({'User'}, { - pattern = 'GoyoLeave', - command = 'Limelight!' -}) - -vim.keymap.set('n', 'i', ':Limelight!!==') -vim.keymap.set('i', 'i', ':Limelight!!==gi') -vim.keymap.set('v', 'i', ':Limelight!!gv=gv') -vim.keymap.set('n', 'g', ':Goyo==') -vim.keymap.set('i', 'g', ':Goyo==gi') -vim.keymap.set('v', 'g', ':Goyogv=gv') +-- Coq +vim.g.coq_settings = { + auto_start = 'shut-up', + clients = { + snippets = { + warn = {} + } + } +} -- Plugins require('plugins') +require('treesitter_config') +require('lsp') +require('dap_config')