fixed markdown nonsense
This commit is contained in:
16
README.md
16
README.md
@@ -75,18 +75,18 @@ The leader key is space, configurable at the top of the `init.lua` file. When re
|
|||||||
If a file is open, Telescope is configured to jump to the pane/tab where that file is open, rather than open it in the current pane.
|
If a file is open, Telescope is configured to jump to the pane/tab where that file is open, rather than open it in the current pane.
|
||||||
This allows for a more consistent editing experience, such as having seperate tabs for backend and frontend files.
|
This allows for a more consistent editing experience, such as having seperate tabs for backend and frontend files.
|
||||||
|
|
||||||
- <C-t>l - Next tab
|
- \<C-t\>l - Next tab
|
||||||
- <C-t>h - Previous tab
|
- \<C-t\>h - Previous tab
|
||||||
- <C-t>j - New tab to the right
|
- \<C-t\>j - New tab to the right
|
||||||
- <C-t>q - Close tab (Keeps buffers open)
|
- \<C-t\>q - Close tab (Keeps buffers open)
|
||||||
|
|
||||||
Instead of using <C-t>j, I prefer to find the file in Telescope and use <C-t>, which opens the file in a new tab. This ovverides the
|
Instead of using \<C-t\>j, I prefer to find the file in Telescope and use <C-t>, which opens the file in a new tab. This ovverides the
|
||||||
regular Telescope behaviour of jumping to the relevant pane, which only applies to enter. Similarly, <C-v> in Telescope opens the
|
regular Telescope behaviour of jumping to the relevant pane, which only applies to enter. Similarly, <C-v> in Telescope opens the
|
||||||
selected file in a split to the right in the current tab. All <C-w> binds for navigating windows remain unchanged
|
selected file in a split to the right in the current tab. All <C-w> binds for navigating windows remain unchanged
|
||||||
|
|
||||||
#### Editing
|
#### Editing
|
||||||
|
|
||||||
- <leader>d - Open vim.lsp.diagnostic float menu
|
- \<leader\>d - Open vim.lsp.diagnostic float menu
|
||||||
- gd - Go to definition of function
|
- gd - Go to definition of function
|
||||||
- ss - Open flash.nvim menu
|
- ss - Open flash.nvim menu
|
||||||
|
|
||||||
@@ -94,8 +94,8 @@ Flash nvim has no leader key for ease of access. Non-text based flash functions
|
|||||||
|
|
||||||
#### Session management
|
#### Session management
|
||||||
|
|
||||||
- <leader>qj - Save session and exit
|
- \<leader\>qj - Save session and exit
|
||||||
- <leader>qd - Delete session and exit
|
- \<leader\>qd - Delete session and exit
|
||||||
|
|
||||||
Both of these commands run `wqa`, meaning that even when deleting a session no data is ever lost (not that autosave isn't on by default lol).
|
Both of these commands run `wqa`, meaning that even when deleting a session no data is ever lost (not that autosave isn't on by default lol).
|
||||||
When opening nvim in a folder with a `.session` file, the session will automatically be restored, including window layout. For more info, see
|
When opening nvim in a folder with a `.session` file, the session will automatically be restored, including window layout. For more info, see
|
||||||
|
|||||||
Reference in New Issue
Block a user