Compare commits
2 commits
d491a01330
...
a12b7cb05d
| Author | SHA1 | Date | |
|---|---|---|---|
| a12b7cb05d | |||
| 17e0fa9deb |
1 changed files with 19 additions and 0 deletions
|
|
@ -2,10 +2,29 @@ _:
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.users.moritz.programs.nixvim = {
|
home-manager.users.moritz.programs.nixvim = {
|
||||||
|
autoCmd = [
|
||||||
|
{
|
||||||
|
event = [ "VimEnter" ];
|
||||||
|
callback.__raw = ''
|
||||||
|
function()
|
||||||
|
if vim.fn.argc() == 0 then
|
||||||
|
require("telescope.builtin").find_files()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
plugins = {
|
plugins = {
|
||||||
telescope = {
|
telescope = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions.fzf-native.enable = true;
|
extensions.fzf-native.enable = true;
|
||||||
|
settings.defaults.__raw = ''
|
||||||
|
require("telescope.themes").get_ivy({
|
||||||
|
layout_config = {
|
||||||
|
height = 0.75
|
||||||
|
}
|
||||||
|
})
|
||||||
|
'';
|
||||||
keymaps = {
|
keymaps = {
|
||||||
"<leader>ff" = {
|
"<leader>ff" = {
|
||||||
action = "find_files";
|
action = "find_files";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue