diff options
author | kdx <kdx@42l.fr> | 2023-01-19 19:56:31 +0100 |
---|---|---|
committer | kdx <kdx@42l.fr> | 2023-01-19 20:02:43 +0100 |
commit | ecd6f3c52c64720b35e1e51480ba55bef954827b (patch) | |
tree | a7b6f8fa0a0fb5bcafd4822278d9c11cc204e1ea | |
parent | 16d7b138d2f2492f7e047a158b3b2a1f0ee49f7a (diff) | |
download | nvim-config-ecd6f3c52c64720b35e1e51480ba55bef954827b.tar.gz |
fzf
-rw-r--r-- | init.lua | 7 | ||||
-rw-r--r-- | map.lua | 2 | ||||
-rw-r--r-- | plugs.lua | 1 |
3 files changed, 8 insertions, 2 deletions
@@ -19,7 +19,12 @@ vim.opt.showmatch = true vim.opt.autoindent = true vim.opt.ttyfast = true -map('n', '<space>', ':noh<cr>') +map("n", "<space>", ":noh<cr>") +map("n", ";F", ":Files<cr>") +map("n", ";f", ":GFiles<cr>") +map("n", ";b", ":Buffer<cr>") +map("n", ";l", ":Lines<cr>") +map("n", ";t", ":!ctags --exclude=Makefile -R<cr>:Tags<cr>") vim.g.tokyonight_style = "night" vim.g.tokyonight_enable_italic = true @@ -1,5 +1,5 @@ function map(mode, combo, mapping, opts) - local options = {noremap = true} + local options = { noremap = true, silent = true } if opts then options = vim.tbl_extend("force", options, opts) end @@ -9,4 +9,5 @@ require("paq")({ vim.cmd("TSUpdate") end }; + "junegunn/fzf.vim"; }) |