[feat] Added octo.nvim
This commit is contained in:
@@ -52,8 +52,8 @@
|
|||||||
mpc-cli
|
mpc-cli
|
||||||
mmtc
|
mmtc
|
||||||
] ++ lib.optionals device.isLinux [
|
] ++ lib.optionals device.isLinux [
|
||||||
mpv
|
|
||||||
psst
|
psst
|
||||||
|
mpv
|
||||||
catppuccinThemes.gtk
|
catppuccinThemes.gtk
|
||||||
catppuccinThemes.papirus-folders
|
catppuccinThemes.papirus-folders
|
||||||
gnome.seahorse
|
gnome.seahorse
|
||||||
@@ -223,7 +223,7 @@
|
|||||||
settings = {
|
settings = {
|
||||||
email = "uttarayan21@gmail.com";
|
email = "uttarayan21@gmail.com";
|
||||||
base_url = "https://pass.uttarayan.me";
|
base_url = "https://pass.uttarayan.me";
|
||||||
pinenttry =
|
pinentry =
|
||||||
if device.isMac then pkgs.pinentry_mac else pkgs.pinentry-qt;
|
if device.isMac then pkgs.pinentry_mac else pkgs.pinentry-qt;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
telescope-fzf-native-nvim
|
telescope-fzf-native-nvim
|
||||||
telescope-file-browser-nvim
|
telescope-file-browser-nvim
|
||||||
telescope-dap-nvim
|
telescope-dap-nvim
|
||||||
|
octo-nvim
|
||||||
|
|
||||||
# Treesitter stuff
|
# Treesitter stuff
|
||||||
outline-nvim
|
outline-nvim
|
||||||
@@ -195,6 +196,7 @@
|
|||||||
"vff" = "[[<cmd>vertical Gdiffsplit<cr>]]";
|
"vff" = "[[<cmd>vertical Gdiffsplit<cr>]]";
|
||||||
"<C-k>" = "vim.lsp.buf.definition";
|
"<C-k>" = "vim.lsp.buf.definition";
|
||||||
"gi" = "require'telescope.builtin'.lsp_implementations";
|
"gi" = "require'telescope.builtin'.lsp_implementations";
|
||||||
|
"gh" = "[[<cmd>Octo actions<cr>]]";
|
||||||
"<leader>a" = "vim.lsp.buf.code_action";
|
"<leader>a" = "vim.lsp.buf.code_action";
|
||||||
"F" = "function() vim.lsp.buf.format({ async = true }) end";
|
"F" = "function() vim.lsp.buf.format({ async = true }) end";
|
||||||
"<leader><leader>" = "'<c-^>'";
|
"<leader><leader>" = "'<c-^>'";
|
||||||
@@ -414,7 +416,7 @@
|
|||||||
["core.dirman"] = {
|
["core.dirman"] = {
|
||||||
config = {
|
config = {
|
||||||
workspaces = {
|
workspaces = {
|
||||||
Notes = "~/Nextcloud/Notes",
|
default = "~/Nextcloud/Notes",
|
||||||
Work = "~/Nextcloud/Work",
|
Work = "~/Nextcloud/Work",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -429,6 +431,12 @@
|
|||||||
require('chatgpt').setup({
|
require('chatgpt').setup({
|
||||||
api_key_cmd = "rbw get platform.openai.com",
|
api_key_cmd = "rbw get platform.openai.com",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require"octo".setup({
|
||||||
|
use_local_fs = false, -- use local files on right side of reviews
|
||||||
|
enable_builtin = false, -- shows a list of builtin actions when no action is provided
|
||||||
|
default_remote = {"upstream", "origin"};
|
||||||
|
})
|
||||||
'';
|
'';
|
||||||
# builtins.readFile ./extraConfig.lua;
|
# builtins.readFile ./extraConfig.lua;
|
||||||
package = pkgs.neovim-nightly;
|
package = pkgs.neovim-nightly;
|
||||||
|
|||||||
Reference in New Issue
Block a user