otavioschwanck / arrow.nvim

Bookmark your files, separated by project, and quickly navigate through them.
Other
482 stars 23 forks source link

feature request: Use ctrlspace workspace for save_key #53

Open Ajaymamtora opened 5 months ago

Ajaymamtora commented 5 months ago

Would it be possibly to add another config option that uses cwd and the ctrlspace workspace name? Id like different bookmarks per workspace.

Workspace name is accessed through vim.fn['ctrlspace#workspaces#ActiveWorkspace’]().Name

I tried setting save_key to vim.fn['ctrlspace#workspaces#ActiveWorkspace’]().Name .. vim.fn.getcwd() but it didnt work

https://github.com/vim-ctrlspace/vim-ctrlspace