[Term] Moves terminal utils to terminal config. [Vim] Messes with configs a bit
This commit is contained in:
@@ -19,25 +19,6 @@
|
|||||||
git
|
git
|
||||||
nix-prefetch-github
|
nix-prefetch-github
|
||||||
|
|
||||||
# Utilities
|
|
||||||
htop
|
|
||||||
btop
|
|
||||||
zip
|
|
||||||
xz
|
|
||||||
unzip
|
|
||||||
p7zip
|
|
||||||
httpie
|
|
||||||
neofetch
|
|
||||||
file
|
|
||||||
tree
|
|
||||||
jq
|
|
||||||
killall
|
|
||||||
ranger
|
|
||||||
|
|
||||||
|
|
||||||
# Networking
|
|
||||||
dnsutils
|
|
||||||
socat
|
|
||||||
|
|
||||||
# Applications
|
# Applications
|
||||||
discord
|
discord
|
||||||
|
|||||||
@@ -1 +1,37 @@
|
|||||||
require("periodic")
|
-- Leader must be set before lazy is setup.
|
||||||
|
vim.g.mapleader = ","
|
||||||
|
|
||||||
|
vim.cmd [[
|
||||||
|
colorscheme decay-dark
|
||||||
|
set autoindent
|
||||||
|
set expandtab
|
||||||
|
set smartindent
|
||||||
|
set shiftwidth=2
|
||||||
|
set tabstop=2
|
||||||
|
set softtabstop=2
|
||||||
|
filetype on
|
||||||
|
]]
|
||||||
|
|
||||||
|
-- Make sure sesssion options includes `localoptions` so that auto-sessions will start properly
|
||||||
|
vim.o.sessionoptions="blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
|
||||||
|
|
||||||
|
local telescope = require('telescope.builtin')
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<C-e>", "<cmd>RnvimrToggle<CR>", { noremap = true, silent = true })
|
||||||
|
vim.keymap.set("n", "<C-n>", "<cmd>TabNext<CR>", { noremap = true, silent = true })
|
||||||
|
vim.keymap.set("n", "<C-p>", telescope.find_files, { desc = "Telescope find files" })
|
||||||
|
vim.keymap.set("n", "<C-t>", telescope.buffers, { desc = "Telescope buffers" })
|
||||||
|
|
||||||
|
|
||||||
|
vim.filetype.add {
|
||||||
|
extension = {
|
||||||
|
rasi = 'rasi',
|
||||||
|
},
|
||||||
|
pattern = {
|
||||||
|
-- Some common config files and their types
|
||||||
|
['.*/waybar/config'] = 'jsonc',
|
||||||
|
['.*/mako/config'] = 'dosini',
|
||||||
|
['.*/kitty/*.conf'] = 'bash',
|
||||||
|
['.*/hypr/.*%.conf'] = 'hyprlang',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,37 +0,0 @@
|
|||||||
vim.g.mapleader = ","
|
|
||||||
|
|
||||||
vim.cmd [[
|
|
||||||
colorscheme decay-dark
|
|
||||||
set autoindent
|
|
||||||
set expandtab
|
|
||||||
set smartindent
|
|
||||||
set shiftwidth=2
|
|
||||||
set tabstop=2
|
|
||||||
set softtabstop=2
|
|
||||||
filetype on
|
|
||||||
|
|
||||||
]]
|
|
||||||
|
|
||||||
-- Make sure sesssion options includes `localoptions` so that auto-sessions will start properly
|
|
||||||
vim.o.sessionoptions="blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
|
|
||||||
|
|
||||||
local telescope = require('telescope.builtin')
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<C-e>", "<cmd>RnvimrToggle<CR>", { noremap = true, silent = true })
|
|
||||||
vim.keymap.set("n", "<C-n>", "<cmd>TabNext<CR>", { noremap = true, silent = true })
|
|
||||||
vim.keymap.set("n", "<C-p>", telescope.find_files, { desc = "Telescope find files" })
|
|
||||||
vim.keymap.set("n", "<C-t>", telescope.buffers, { desc = "Telescope buffers" })
|
|
||||||
|
|
||||||
|
|
||||||
vim.filetype.add {
|
|
||||||
extension = {
|
|
||||||
rasi = 'rasi',
|
|
||||||
},
|
|
||||||
pattern = {
|
|
||||||
-- Some common config files and their types
|
|
||||||
['.*/waybar/config'] = 'jsonc',
|
|
||||||
['.*/mako/config'] = 'dosini',
|
|
||||||
['.*/kitty/*.conf'] = 'bash',
|
|
||||||
['.*/hypr/.*%.conf'] = 'hyprlang',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -23,7 +23,7 @@ in
|
|||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
nvim-treesitter
|
nvim-treesitter.withAllGrammars
|
||||||
surround-nvim
|
surround-nvim
|
||||||
telescope-nvim
|
telescope-nvim
|
||||||
plenary-nvim # dependency of telescope
|
plenary-nvim # dependency of telescope
|
||||||
|
|||||||
@@ -1,6 +1,32 @@
|
|||||||
# Configure my terminal of choice
|
# Configure my terminal of choice
|
||||||
{ pkgs, inputs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
# System
|
||||||
|
htop
|
||||||
|
btop
|
||||||
|
neofetch
|
||||||
|
killall
|
||||||
|
|
||||||
|
# Files
|
||||||
|
zip
|
||||||
|
xz
|
||||||
|
unzip
|
||||||
|
p7zip
|
||||||
|
file
|
||||||
|
tree
|
||||||
|
ranger
|
||||||
|
|
||||||
|
# Networking
|
||||||
|
dnsutils
|
||||||
|
socat
|
||||||
|
httpie
|
||||||
|
|
||||||
|
# Other
|
||||||
|
jq
|
||||||
|
];
|
||||||
|
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
Reference in New Issue
Block a user