nvim: Increase some timeouts
This commit is contained in:
parent
84572bde0b
commit
d12a15f73b
2 changed files with 6 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
|||
(set o.relativenumber true)
|
||||
(set o.conceallevel 2)
|
||||
(set o.concealcursor :nc)
|
||||
(set o.updatetime 750)
|
||||
(set o.updatetime 2000)
|
||||
(set g.cursorhold_updatetime 100) ; https://github.com/antoinemadec/FixCursorHold.nvim
|
||||
(o.shortmess:append :c)
|
||||
(o.shortmess:remove :S)
|
||||
|
@ -105,3 +105,4 @@
|
|||
:group augroup})
|
||||
(aucmd :InsertLeave {:callback #(ls.maybe-set-relativenumber true)
|
||||
:group augroup})))
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
(fn mod.setup []
|
||||
(keymap.set :n :<space> :<nop> {:noremap true})
|
||||
(set vim.g.mapleader " ")
|
||||
(set vim.opt.timeoutlen 500)
|
||||
(set vim.opt.timeoutlen 400)
|
||||
;; Leader Mappings
|
||||
(keymap.set :n :<leader>o telescope-nifoc.project-files
|
||||
{:desc "Find Files"})
|
||||
|
@ -91,6 +91,9 @@
|
|||
(keymap.set :n :<leader>t
|
||||
#(telescope-builtin.lsp_document_symbols telescope-dropdown)
|
||||
{:buffer bufnr :desc "LSP Document Symbols"})
|
||||
(keymap.set :n :<leader>tw
|
||||
#(telescope-builtin.lsp_dynamic_workspace_symbols telescope-dropdown)
|
||||
{:buffer bufnr :desc "LSP Workspace Symbols"})
|
||||
(keymap.set :n :<leader>lca
|
||||
#(telescope-builtin.lsp_code_actions telescope-dropdown)
|
||||
{:buffer bufnr :desc "LSP Code Action"})
|
||||
|
|
Loading…
Reference in a new issue