Skip to content

Commit fc564e3

Browse files
committed
Change remap for floating terminal
1 parent b85329b commit fc564e3

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
- [Aesthetics](#aesthetics)
1919
- [Remaps](#remaps)
2020
- [General](#general)
21-
- [Floating terminal](#floating-terminal)
2221
- [Split navigation](#split-navigation)
2322
- [Set - Unset](#set-unset)
2423
- [LSP](#lsp)
@@ -27,6 +26,7 @@
2726
- [Telescope](#telescope)
2827
- [Tmux-switch](#tmux-switch)
2928
- [Harpoon](#harpoon)
29+
- [Floating terminal](#floating-terminal)
3030
- [Trouble](#trouble)
3131
- [Installation](#installation)
3232

@@ -125,14 +125,6 @@ nvim/
125125
| `<leader>s` | Source file in current buffer |
126126

127127

128-
### Floating terminal <a name="floating-terminal"></a> ###
129-
130-
***
131-
| Keybind | Action |
132-
|---------------|----------------------------|
133-
| `<leader>t` | Toggle floating terminal |
134-
135-
136128
### Split navigation <a name="split-navigation"></a> ###
137129
***
138130
| Keybind | Action |
@@ -246,6 +238,13 @@ nvim/
246238
| `<C-z>` | Run tmux switch script located under /tmux_scripts directory |
247239
***
248240

241+
### Floating terminal <a name="terminal"></a> ###
242+
***
243+
| Keybind | Action |
244+
|---------------|---------------------------------------------------------------|
245+
| `<leader>ot` | Toggle floating terminal |
246+
***
247+
249248

250249
## Installation <a name="installation"></a> ##
251250
If you already have nvim configuration, you might want to do a backup first and then clone this one with:

after/plugin/floating_terminal.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
vim.keymap.set("n", "<leader>t", "<cmd>FloatingTerminal<cr>")
2-
vim.keymap.set("t", "<leader>t", "<cmd>FloatingTerminal<cr>")
1+
vim.keymap.set("n", "<leader>ot", "<cmd>FloatingTerminal<cr>")
2+
vim.keymap.set("t", "<leader>ot", "<cmd>FloatingTerminal<cr>")
33

0 commit comments

Comments
 (0)