diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2024-08-13 22:13:01 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2024-08-13 22:13:01 +0200 |
| commit | 7098fb9202cc36241dc08b6ca1cd68b6558f1629 (patch) | |
| tree | 81a8fd6079964a43c96fde54edf84ce2837a534b /config/nvim/lua/plugins.lua | |
| parent | 47aaf2b29fa14eb683c6043b62cc11748cd073af (diff) | |
| parent | ce3c6a8d435272de5b549cd51c7f8fa915b64518 (diff) | |
| download | dotfiles-7098fb9202cc36241dc08b6ca1cd68b6558f1629.tar.gz dotfiles-7098fb9202cc36241dc08b6ca1cd68b6558f1629.tar.bz2 dotfiles-7098fb9202cc36241dc08b6ca1cd68b6558f1629.zip | |
Merge branch 'master' of github.com:cacharle/dotfiles
Diffstat (limited to 'config/nvim/lua/plugins.lua')
| -rw-r--r-- | config/nvim/lua/plugins.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index c576cf7..bfc4440 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -429,7 +429,11 @@ return require("packer").startup(function() icons_enabled = true, section_separators = '', component_separators = '', - } + }, + sections = { + -- path=1 for Relative path (https://github.com/nvim-lualine/lualine.nvim?tab=readme-ov-file#filename-component-options) + lualine_c = {{'filename', path = 1}}, + }, } end } @@ -521,7 +525,7 @@ return require("packer").startup(function() map("n", "<leader>H", "<cmd>Telescope help_tags<cr>", {}) map("n", "<leader>;", "<cmd>Telescope commands<cr>", {}) -- map("n", "<leader>p", "<cmd>Telescope tags<cr>", {}) - map("n", "<leader>g", "<cmd>Telescope live_grep<cr>", {}) + map("n", "<leader>gg", "<cmd>Telescope live_grep<cr>", { noremap = true, silent = true }) map("n", "<leader>G", "<cmd>Telescope grep_string<cr>", {}) end } |
