mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
fix example.nix
This commit is contained in:
parent
31b38e5649
commit
808c20d1f9
1 changed files with 62 additions and 58 deletions
10
example.nix
10
example.nix
|
@ -10,7 +10,10 @@
|
||||||
# Equivalent to nnoremap ; :
|
# Equivalent to nnoremap ; :
|
||||||
";" = ":";
|
";" = ":";
|
||||||
# Equivalent to nmap <silent> <buffer> <leader>gg <cmd>Man<CR>
|
# Equivalent to nmap <silent> <buffer> <leader>gg <cmd>Man<CR>
|
||||||
"<leader>gg" = { silent = true; remap = false; action = "<cmd>Man<CR>"
|
"<leader>gg" = {
|
||||||
|
silent = true;
|
||||||
|
remap = false;
|
||||||
|
action = "<cmd>Man<CR>";
|
||||||
# Etc...
|
# Etc...
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -50,8 +53,8 @@
|
||||||
# This is one of lightline's example configurations
|
# This is one of lightline's example configurations
|
||||||
active = {
|
active = {
|
||||||
left = [
|
left = [
|
||||||
[ "mode", "paste" ]
|
[ "mode" "paste" ]
|
||||||
[ "redaonly", "filename", "modified", "helloworld" ]
|
[ "redaonly" "filename" "modified" "helloworld" ]
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -72,4 +75,5 @@
|
||||||
# Use extraPlugins:
|
# Use extraPlugins:
|
||||||
extraPlugins = with pkgs.vimPlugins; [ vim-toml ];
|
extraPlugins = with pkgs.vimPlugins; [ vim-toml ];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue