diff --git a/README.md b/README.md index e4d4a3f..4f56083 100644 --- a/README.md +++ b/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. This allows for a more consistent editing experience, such as having seperate tabs for backend and frontend files. -- l - Next tab -- h - Previous tab -- j - New tab to the right -- q - Close tab (Keeps buffers open) +- \l - Next tab +- \h - Previous tab +- \j - New tab to the right +- \q - Close tab (Keeps buffers open) -Instead of using j, I prefer to find the file in Telescope and use , which opens the file in a new tab. This ovverides the +Instead of using \j, I prefer to find the file in Telescope and use , 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, in Telescope opens the selected file in a split to the right in the current tab. All binds for navigating windows remain unchanged #### Editing -- d - Open vim.lsp.diagnostic float menu +- \d - Open vim.lsp.diagnostic float menu - gd - Go to definition of function - 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 -- qj - Save session and exit -- qd - Delete session and exit +- \qj - Save session and exit +- \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). When opening nvim in a folder with a `.session` file, the session will automatically be restored, including window layout. For more info, see