-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add toggleterm, markdown preview keymaps, lualine switch filena…
…me and navic (#23) - Configured toggleterm plugin - Added keymap for markdown preview - Changed lualine so Navic is better readable by switching filename and type with Navic.
- Loading branch information
Showing
8 changed files
with
105 additions
and
16 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
_: { | ||
plugins.toggleterm = { | ||
enable = true; | ||
settings = { | ||
size = 20; | ||
}; | ||
}; | ||
keymaps = [ | ||
{ | ||
mode = "n"; | ||
key = "<leader>t"; | ||
action = "<cmd>ToggleTerm<cr>"; | ||
options = { | ||
desc = "Toggle Terminal Window"; | ||
}; | ||
} | ||
{ | ||
mode = "n"; | ||
key = "<leader>tv"; | ||
action = "<cmd>ToggleTerm direction=vertical<cr>"; | ||
options = { | ||
desc = "Toggle Vertical Terminal Window"; | ||
}; | ||
} | ||
{ | ||
mode = "n"; | ||
key = "<leader>th"; | ||
action = "<cmd>ToggleTerm direction=horizontal<cr>"; | ||
options = { | ||
desc = "Toggle Horizontal Terminal Window"; | ||
}; | ||
} | ||
{ | ||
mode = "n"; | ||
key = "<leader>tf"; | ||
action = "<cmd>ToggleTerm direction=float<cr>"; | ||
options = { | ||
desc = "Toggle Floating Terminal Window"; | ||
}; | ||
} | ||
]; | ||
} |