- 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>
* 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>
- 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>
* 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>
* moved the including of lv-settings to above the settings so local settings configured in lv-settings can override the globals that get loaded in settings, 0.relative_number for example
* fixed reference to nv_utils, replaced with lv_utils
* replaced references to nv_utils, replaced with lv_utils
* rolled back my changes to lv-settings to match upstream
The numbered list for `Install your own plugins` was all in one line
- Changed it to a proper sequence (added new lines)
- added highlighting (backticks) to file names
- fixed grammar (, instead of .) in pt 2