feat(nvim): add mappings for floaterm
This commit is contained in:
parent
ba5b30b136
commit
5d80d36328
|
@ -1,6 +1,7 @@
|
|||
require("colorbuddy").colorscheme("gruvbuddy")
|
||||
|
||||
require "opdavies.plugins.completion"
|
||||
require "opdavies.plugins.floaterm"
|
||||
require "opdavies.plugins.indent-blankline"
|
||||
require "opdavies.plugins.lsp"
|
||||
require "opdavies.plugins.signs"
|
||||
|
|
8
nvim/.config/nvim/lua/opdavies/plugins/floaterm.lua
Normal file
8
nvim/.config/nvim/lua/opdavies/plugins/floaterm.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
local map = vim.api.nvim_set_keymap
|
||||
|
||||
local options = { noremap = true }
|
||||
|
||||
map('n', '<leader>ld', '<CMD>FloatermNew --autoclose=2 --height=0.9 --width=0.9 lazydocker<CR>', options)
|
||||
map('n', '<leader>lg', '<CMD>FloatermNew --autoclose=2 --height=0.9 --width=0.9 lazygit<CR>', options)
|
||||
map('n', '<leader>nn', '<CMD>FloatermNew --autoclose=2 --height=0.5 --width=0.5 nnn -Hde<CR>', options)
|
||||
map('n', '<leader>tt', '<CMD>FloatermNew --autoclose=2 --height=0.9 --width=0.9 zsh<CR>', options)
|
Loading…
Reference in a new issue