diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-11-18 13:44:04 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-11-18 13:44:04 +0100 |
| commit | bf385e91c80f9963624c501eb0a8d2b35c6f2466 (patch) | |
| tree | 5672760570c5d9b4d93113f42ab23ec39a0b3921 /config/nvim/init.lua | |
| parent | 125bcca5e7ed1b4527083bc2bcbdf66aa166d341 (diff) | |
| download | dotfiles-bf385e91c80f9963624c501eb0a8d2b35c6f2466.tar.gz dotfiles-bf385e91c80f9963624c501eb0a8d2b35c6f2466.tar.bz2 dotfiles-bf385e91c80f9963624c501eb0a8d2b35c6f2466.zip | |
Added Nerd Font to alacritty for emoji, Updated zsh aliases and qutebrowser for Darwin specific config
Diffstat (limited to 'config/nvim/init.lua')
| -rw-r--r-- | config/nvim/init.lua | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 9634562..1afc4a3 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -63,15 +63,16 @@ require('telescope').setup { ['<C-j>'] = actions.move_selection_next, ['<C-k>'] = actions.move_selection_previous, ['<esc>'] = actions.close, + ['kj'] = actions.close, } - } + }, } } require('lualine').setup { options = { theme = 'gruvbox', - icons_enabled = false, + icons_enabled = true, section_separators = '', component_separators = '' } @@ -81,9 +82,9 @@ require('nvim-treesitter.configs').setup { highlight = { enable = true }, - indent = { - enable = true - }, + -- indent = { + -- enable = true + -- }, incremental_selection = { enable = true, keymaps = { @@ -94,9 +95,22 @@ require('nvim-treesitter.configs').setup { } } } +vim.cmd [[ highlight link pythonTSKeywordOperator Keyword ]] +-- require 'nvim-treesitter.highlight' +-- local hlmap = vim.treesitter.TSHighlighter.hl_map +-- hlmap.error = nil + require('nvim_comment').setup() -require('lspconfig').clangd.setup {} +-- local on_attach = function(_, bufnr) +-- local opts = {noremap = true, silent = true } +-- vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<cr>', opts) +-- vim.api.nvim_buf_set_keymap(bufnr, 'n', 'K', '<cmd>lua vim.lsp.buf.hover()<cr>', opts) +-- vim.api.nvim_buf_set_keymap(bufnr, 'n', '<C-k>', '<cmd>lua vim.lsp.buf.signature_help()<cr>', opts) +-- end + +-- require('lspconfig').clangd.setup {} +-- require('lspconfig').pyright.setup { on_attach = on_attach } require('mappings') |
