Commit Graph

237 Commits

Author SHA1 Message Date
Senghan Bright
a5803b6755
Update README.md 2021-02-04 00:02:55 +01:00
Senghan Bright
284699afe1 update readme 2021-02-02 11:43:49 +01:00
Senghan Bright
6db89f20b3 update readme 2021-02-02 11:33:36 +01:00
Senghan Bright
93904dd90f . 2021-02-02 11:28:00 +01:00
Senghan Bright
b2ceef1572 . 2021-02-02 11:27:17 +01:00
Senghan Bright
feb7bcaf06 . 2021-02-02 11:26:32 +01:00
Senghan Bright
7ef31cbaf7 . 2021-02-02 11:26:03 +01:00
Senghan Bright
4ff080c5aa add gif for frecency workspaces 2021-02-02 11:23:30 +01:00
Senghan Bright
668a833a0e
fix sql:open() (#5) 2021-02-01 22:38:03 +01:00
Senghan Bright
7afdd3c32c
Feature: filtered workspaces
* draft implementation of tags/filters

* .

* add filtering:

- extended substring sorter to have modes:
- when current string is prefixed by `:foo`, results are tag_names that
come from tags/workspaces table. (if `:foo ` token is incomplete it is
ignored)
- when a complete workspace tag is matched ':foobar:', results are
indexed_files filtered by if their parent_dir is a descendant of the
workspace_dir
- a recursive scan_dir() result is added to the  :foobar: filter
results; any non-indexed_files are given a score of zero, and are
alphabetically sorted below the indexed_results

- tab completion for tab_names in insert mode`:foo|` state: cycles
through available options

* add completion file

* use attach_mappings for <CR> map

* stop completion being enabled multiple times

* improve keys

* improve completion cancellation

* add dynamic `lsp` tag

* add dynamic `lsp` tag

* fix empty lsp workspaces

* remove hardcoded workspaces and allow config from ext_config

* add filter highlight and some fixes

* .

* add workspace filters to readme

* wip LSP workspace filter

* merge ignore_patterns fix

* change LSP_ROOT tagname to LSP

* fix setting default values

* .

* update readme with filter instructions

* remove debug message

* improve relative paths

* improve relative paths

* WIP dynamic column sizes

* WIP filter_column_width

* fix keymaps

* .

* feat: persistent filters

* refactor config creation

* fix: filter directory column autosize

* improve LSP workspace paths

* .

* remove workspace filter output

* cache persistent filter results

* fix cached results

* .

* remove results cache; sorting is the expensive part

* respect ignore patterns for non-indexed files.

* return table on on_input_filter_cb
2021-01-28 22:45:04 +01:00
Senghan Bright
8b82406c94
Merge pull request #2 from delphinus/hotfix/enable-ignore-patterns
Detect ignore_patterns in validating DB
2021-01-26 10:31:02 +01:00
delphinus
9a2ddaee90 Detect ignore_patterns in validating DB 2021-01-21 17:53:07 +09:00
Senghan Bright
a770d59b92 use vim.startswith instead of utils string function 2021-01-20 12:17:45 +01:00
Senghan Bright
098edfc941 make relative dir setting compatible with tail_path 2021-01-19 08:35:39 +01:00
Senghan Bright
867f0d714d show dot-slash relative dir indicator 2021-01-19 08:20:07 +01:00
Senghan Bright
610febf90c fix relative dir 2021-01-19 08:07:31 +01:00
Senghan Bright
84443967fc only call os_home once; conditionally replace homedir 2021-01-19 05:39:25 +01:00
Senghan Bright
e52c61c312 fix string_starts 2021-01-19 05:38:49 +01:00
Senghan Bright
304a6bf887 shorten paths relative to user homedir 2021-01-19 05:15:40 +01:00
Senghan Bright
bbb81a6a58 remove wip commits 2021-01-18 21:32:03 +01:00
Senghan Bright
9bbbec1435 add in frecency_utils require 2021-01-18 21:08:38 +01:00
Senghan Bright
8ceaedc4ca remove substr_matcher and use the upstreamed version
https://github.com/nvim-telescope/telescope.nvim/pull/443
2021-01-18 18:02:28 +01:00
Senghan Bright
78bc319f49 use ordinal instead of name for sort matching 2021-01-18 14:31:59 +01:00
Senghan Bright
4f410348ff update repo location in install instructions 2021-01-17 22:06:28 +01:00
Senghan Bright
0aa5c2d43d remove unused function stub 2021-01-17 21:59:06 +01:00
Senghan Bright
815ea52886 remove debug messages 2021-01-17 20:53:26 +01:00
Senghan Bright
4652f6c325 use extensions ignore_patterns instead of telescope default 2021-01-17 20:51:11 +01:00
Senghan Bright
6e9ec0a86e update readme 2021-01-17 19:57:25 +01:00
Senghan Bright
244eae6971 update readme 2021-01-17 19:50:50 +01:00
Senghan Bright
e8266b0b94 allow scores and ignore_patterns to be configurable. 2021-01-17 19:48:19 +01:00
Senghan Bright
1db3bb17aa update readme 2021-01-17 19:47:44 +01:00
Senghan Bright
aa93b2f8e6 refactor 2021-01-17 19:47:24 +01:00
Senghan Bright
f2802ba34c add previewer 2021-01-17 16:57:03 +01:00
Senghan Bright
50869b5f55 automatically remove stale entries from db 2021-01-17 16:51:43 +01:00
Senghan Bright
07b569ab03 update readme 2021-01-17 13:35:12 +01:00
Senghan Bright
c977ea5a46 update readme 2021-01-17 13:17:37 +01:00
Senghan Bright
dc37ed8dd0 improve substr matcher 2021-01-17 12:59:20 +01:00
Senghan Bright
0e606ebfca rename buf variable 2021-01-17 12:21:48 +01:00
Senghan Bright
df1fc3bb8b make vim.* functions local to display loop 2021-01-17 12:19:03 +01:00
Senghan Bright
c81fad2c1d use Telescope namespace hl for bufloaded 2021-01-17 12:14:56 +01:00
Senghan Bright
6ed0c7753a highlight loaded buffers 2021-01-17 12:12:49 +01:00
Senghan Bright
73c48b2099 update readme 2021-01-17 11:11:35 +01:00
Senghan Bright
e71670b0a7 . 2021-01-17 10:59:09 +01:00
Senghan Bright
639fcff3b2 . 2021-01-17 10:58:19 +01:00
Senghan Bright
6e7685fc0c . 2021-01-17 10:57:10 +01:00
Senghan Bright
3844bf4318 update readme 2021-01-17 10:56:05 +01:00
Senghan Bright
81faa642ed wip: add file pattern ignores 2021-01-17 10:37:25 +01:00
Senghan Bright
2f7636ba0f lsp_workspace filter 2021-01-16 21:56:15 +01:00
Senghan Bright
e547c1cd32 import from v:oldfiles on first run 2021-01-16 18:47:17 +01:00
Senghan Bright
5e89b52e10 remove unnecessary function wrap 2021-01-16 17:04:19 +01:00