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