From c2bdb9b430a51309e5bc3f86f22c7ba94fa4e0cb Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Wed, 7 Jun 2023 02:53:07 +0300 Subject: Added a shortcut to tmux_sessionizer.sh in kitty ctrl+f to quickly find projects and start a tmux session --- nvim/.config/nvim/lua/plugins/neo-tree.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'nvim') diff --git a/nvim/.config/nvim/lua/plugins/neo-tree.lua b/nvim/.config/nvim/lua/plugins/neo-tree.lua index a43eb94..6d1a672 100644 --- a/nvim/.config/nvim/lua/plugins/neo-tree.lua +++ b/nvim/.config/nvim/lua/plugins/neo-tree.lua @@ -11,9 +11,9 @@ return { winbar = true, content_layout = "center", sources = { - { source = "filesystem", display_name = get_icon "FolderClosed" .. " File" }, - { source = "buffers", display_name = get_icon "DefaultFile" .. " Bufs" }, - { source = "git_status", display_name = get_icon "Git" .. " Git" }, + { source = "filesystem", display_name = get_icon "FolderClosed" .. " File" }, + { source = "buffers", display_name = get_icon "DefaultFile" .. " Bufs" }, + { source = "git_status", display_name = get_icon "Git" .. " Git" }, { source = "diagnostics", display_name = get_icon "Diagnostic" .. " Diagnostic" }, }, }, @@ -55,7 +55,7 @@ return { if node.type == "directory" or node:has_children() then if not node:is_expanded() then -- if unexpanded, expand state.commands.toggle_node(state) - else -- if expanded and has children, seleect the next child + else -- if expanded and has children, seleect the next child require("neo-tree.ui.renderer").focus_node(state, node:get_child_ids()[1]) end else -- if not a directory just open it @@ -83,9 +83,9 @@ return { for i, result in pairs(results) do if result.val and result.val ~= "" then vim.list_extend(messages, { - { ("%s."):format(i), "Identifier" }, + { ("%s."):format(i), "Identifier" }, { (" %s: "):format(result.msg) }, - { result.val, "String" }, + { result.val, "String" }, { "\n" }, }) end -- cgit v1.2.3