Skip to content

Commit

Permalink
# This is a combination of 21 commits.
Browse files Browse the repository at this point in the history
parent 4601444
author Kiyan <yazdani.kiyan@protonmail.com> 1652514867 +0200
committer Moshe Avni <mavni@netapp.com> 1653224067 +0300

# This is a combination of 13 commits.
# This is the 1st commit message:

feat(renderer): add ability to set git icons in signcolumn (nvim-tree#1242)


# This is the commit message nvim-tree#2:

feat: extension sorter (nvim-tree#1181) (nvim-tree#1264)


# This is the commit message nvim-tree#3:

Revert "nvim-tree#1253 only pad git icons when they are present (nvim-tree#1259)"

This reverts commit 90d7b8e.
fixes nvim-tree#1267

# This is the commit message nvim-tree#4:

fix(renderer): padding when git icons are after the name

fixes nvim-tree#1253

# This is the commit message nvim-tree#5:

fix(renderer): empty space at end of line

fixes nvim-tree#1253

# This is the commit message nvim-tree#6:

add fish performance tip to README.md
# This is the commit message nvim-tree#7:

feat(live-filter): add ability to live filter out nodes in the tree (nvim-tree#1056)


# This is the commit message nvim-tree#8:

feat: reload explorer on buf enter (nvim-tree#1265)


# This is the commit message nvim-tree#9:

chore(config): auto resize the tree by default when opening a file.

config.open_file.auto_resize is now true by default.
Breaking change for default configurations.
See nvim-tree#1275 (comment)

# This is the commit message nvim-tree#10:

chore: remove custom set local implementation

Seems vim.opt_local has been fixed.
see neovim/neovim#14670

# This is the commit message nvim-tree#11:

refactor: simplify opening file in new tab

fixes nvim-tree#1271. Also fixes opening a file in new tab when close_on_open was
true.

This introduces breaking change since we don't do any extra behavior
and let the buffer be opened by the tree.
The previous behavior was a bit old and i believe this should've been
fixed by now.
Reference this commit if unexpected behavior appears while opening files
in new tabs from nvim-tree.

# This is the commit message nvim-tree#12:

feat: optional path argument for NvimTreeToggle and NvimTreeFindFileToggle (nvim-tree#1276)


# This is the commit message nvim-tree#13:

Ignore case when removing default mappings

# This is the commit message nvim-tree#14:

issue#362: File Management popup menu UI. First Iteration.

# This is the commit message nvim-tree#15:

Workin on menu refactoring

# This is the commit message nvim-tree#17:

Working MVP of NvimTree menu. Added Readme.md with explanation of the current state of feature and DEFAULT_OPTIONS to test.

# This is the commit message nvim-tree#18:

Update README.md

# This is the commit message nvim-tree#19:

updated popup-menu/init.lua

# This is the commit message nvim-tree#20:

Update init.lua
# This is the commit message nvim-tree#21:

Update README.md
  • Loading branch information
mosheavni committed May 22, 2022
1 parent cc29b7e commit 6c4927e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lua/nvim-tree/actions/init.lua
Expand Up @@ -8,7 +8,7 @@ local nvim_tree_callback = require("nvim-tree.config").nvim_tree_callback

local M = {
mappings = {
{ key = {"M"}, action = "open_popup_menu"},
{ key = "M", action = "open_popup_menu"},
{ key = { "<CR>", "o", "<2-LeftMouse>" }, action = "edit" },
{ key = "<C-e>", action = "edit_in_place" },
{ key = "O", action = "edit_no_picker" },
Expand Down
4 changes: 2 additions & 2 deletions lua/nvim-tree/popup-menu/README.md
@@ -1,10 +1,10 @@
## File Management Menu [WIP]
A simple popup menu UI for NvimTreeExplorer.

As now the only two options that work for sure is ```copy_path``` and ```copy_name```.
As now the only two options that work for sure is `copy_path` and `copy_name`.

My personal idea is to let the user choose the title of options to be displayed and connect them to an actions to be executed on current node.
At this point is possible to bind only actions that come from ``nvim-tree.actions.mappings``.
At this point is possible to bind only actions that come from `nvim-tree.actions.mappings`.
You can customize via a table in setup function like:

```lua
Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree/popup-menu/init.lua
Expand Up @@ -10,7 +10,7 @@ local function get_node()

local current_node = get_node_at_cursor()
return current_node
end
end]]

local current_popup = nil

Expand Down

0 comments on commit 6c4927e

Please sign in to comment.