diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-06-07 02:53:07 +0300 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-06-07 02:53:07 +0300 |
| commit | c2bdb9b430a51309e5bc3f86f22c7ba94fa4e0cb (patch) | |
| tree | 65f370761459b875cbaecab16b32e9cdcd35c038 /nvim | |
| parent | 6fc0fdae169635c974cb28f316f94868108a6e87 (diff) | |
| download | dotfiles-c2bdb9b430a51309e5bc3f86f22c7ba94fa4e0cb.tar.xz dotfiles-c2bdb9b430a51309e5bc3f86f22c7ba94fa4e0cb.zip | |
Added a shortcut to tmux_sessionizer.sh in kitty ctrl+f to quickly find projects and start a tmux session
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/.config/nvim/lua/plugins/neo-tree.lua | 12 |
1 files changed, 6 insertions, 6 deletions
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 |
