about summary refs log tree commit diff
path: root/programs
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-10-03 22:28:37 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-10-03 22:28:37 +0200
commitcbbbb9c17df779276741311462acccc87375d91b (patch)
treede3f0c85e9d3b4f5b9068ebb291b0eb0386d723b /programs
parent342155ced8fc78b608f23454cb631decb0b7be9b (diff)
downloaddots-cbbbb9c17df779276741311462acccc87375d91b.tar.gz
dots-cbbbb9c17df779276741311462acccc87375d91b.zip
Add formating to nvim
Diffstat (limited to 'programs')
-rw-r--r--programs/nvim.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/programs/nvim.nix b/programs/nvim.nix
index d423fdf..63e923b 100644
--- a/programs/nvim.nix
+++ b/programs/nvim.nix
@@ -135,6 +135,8 @@ pkgs.neovim.override {
       nnoremap <silent> <C-f> :GFiles<CR>
       nnoremap <silent> <Leader>f :Rg<CR>
       map <C-n> :NERDTreeToggle<CR>
+
+      map <F9> gg=G
     '';
 
     packages.myVimPackage = with pkgs.vimPlugins; {