Skip to content

Commit

Permalink
treewide: nixfmt formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Greve2001 committed Oct 22, 2023
1 parent 5ec4c69 commit 3478c16
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,20 @@
keymaps = [
# Global Mappings
# Default mode is "" which means normal-visual-op
{ # Toggle NvimTree
{
# Toggle NvimTree
key = "<C-n>";
action = "<CMD>NvimTreeToggle<CR>";
}
{ # Format file
{
# Format file
key = "<space>fm";
action = "<CMD>lua vim.lsp.buf.format()<CR>";
}

# Terminal Mappings
{ # Escape terminal mode using ESC
{
# Escape terminal mode using ESC
mode = "t";
key = "<esc>";
action = "<C-\\><C-n>";
Expand Down

0 comments on commit 3478c16

Please sign in to comment.