Commit graph

64 commits

Author SHA1 Message Date
Ian S. Pringle
2cf8580eb7
Updated where leader key is set and made var in lv-settings (#474)
- Setting leader-key in the init.lua file. You want to set the leader as
  soon as possible so that it's the same everywhere. With the leader
  being set in the lua/lv-which-key/init.lua it resulted in mappings that
  used `<leader>` in the lua/keymappings.lua mapping the the defualt
  leader-key of `\`
- Added the O.leader_key to the lv-settings.lua file so the leader-key
  can be set there, which seems to make more sense.
- Added handling for when the leader-key is `<Space>`. This could be
  made more robust to include other special keys, but I don't think
  many/any of the other special keys would be used as a leader-key (ie
  <BS>, <CR>, <Tab>, <Esc>, <Up|Down|Right|Left>, etc.)

Co-authored-by: Christian Chiarulli <chris.machine@pm.me>
2021-06-26 14:31:40 -04:00
Luc Sinet
15d194ce09
Add Vimtex for Latex support (#512)
* Add vimtex plugin

Vimtex provides a full integration for latex files, see: https://github.com/lervag/vimtex.
Zathura is used as default pdf viewer as it allows live reloading.

* Provide the <leader>L shortcut for Latex operations.

* Move vimtex into the extra plugins section

Add a short comment above extra plugins to introduce their functionality

* Only define whcihKey mapping for Vimtex if O.extras is true

Co-authored-by: Christian Chiarulli <chris.machine@pm.me>
2021-06-26 14:18:14 -04:00
tafryn
081ad9d67c
Add which-key maps for hover_doc and help_tags search (#527) 2021-06-26 13:49:10 -04:00
christianchiarulli
62d913ac3e fix multiline comment 2021-06-26 13:42:58 -04:00
kylo252
dc6196ee29
Fix barbar integration with nvim-tree (#523)
- Add an offset to display NvimTree buffer in barbar.
It won't work correctly if you enable "vim.g.nvim_tree_quit_on_open".
- Add which-key support to barbar to enable missing mappings.

Co-authored-by: Christian Chiarulli <chris.machine@pm.me>
2021-06-26 13:37:24 -04:00
Luc Sinet
918a26ebc0
Fix spectre (#520)
* Correctly require Spectre plugin.

Configure backslash as key for interacting with spectre's results.

* Refactor + add Spectre mapping

Map all keys using the mapping variables.
Explicitly specify virtual mappings.

* Remove already prepended character from mapping keys

Co-authored-by: Christian Chiarulli <chris.machine@pm.me>
2021-06-26 13:20:07 -04:00
OliverNChalk
257b6051e7
WhichKey: Make <leader>n clear search instead of toggling highlight (#519) 2021-06-26 13:15:27 -04:00
Fabrizio Sestito
3eee6dc3fd
Change Workspace Symbol binding to Telescope DynamicFinder (#462) 2021-06-18 16:11:30 -04:00
christianchiarulli
66501fefe7 add some useful plugins to base config and a option to enable extras 2021-05-29 02:49:59 -04:00
rebuilt
ff7137c782
feature: adds git keymappings built in to Telescope: git_status, git_branches, git_commits, git_bcommits (#350) 2021-05-03 16:40:59 -04:00
rebuilt
99364ef2b7
corrected label for whichkey action. Changed 'file' to 'Change branch' (#334) 2021-05-02 20:17:18 -04:00
christianchiarulli
66e907d43f update no highlight description 2021-04-29 01:55:31 -04:00
christianchiarulli
1a65e468f3 formatting 2021-04-29 01:44:16 -04:00
christianchiarulli
4b548da246 lua based whichkey 2021-04-29 01:25:49 -04:00