From f4466d266c8fa9a48ebe7275eac1d5ad142d66ac Mon Sep 17 00:00:00 2001 From: Sathvik Birudavolu <8377116+BSathvik@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:22:41 -0600 Subject: [PATCH] smol changes --- configs/nvim/init.lua | 4 ++++ home/packages.nix | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configs/nvim/init.lua b/configs/nvim/init.lua index 1073376..08d9915 100644 --- a/configs/nvim/init.lua +++ b/configs/nvim/init.lua @@ -15,6 +15,7 @@ vim.opt.rtp:prepend(lazypath) vim.g.mapleader = " " -- Make sure to set `mapleader` before lazy so your mappings are correct vim.opt.laststatus = 2 +-- vim.g.openingh_copy_to_register = true local required_servers = { "dockerls", @@ -606,6 +607,9 @@ vim.keymap.set("n", ";", ":bprevious", { noremap = true, silent = true }) -- Hide all other split windows vim.keymap.set("n", "z", ":vertical resize", { noremap = true, silent = true }) +-- Copy full path name of file into clipboard +vim.keymap.set("n", "y", ":!echo $PWD/% | pbcopy", { noremap = true, silent = true }) + -- Diagnostic keymaps vim.keymap.set("n", "e", vim.diagnostic.open_float) vim.keymap.set("n", "[d", vim.diagnostic.goto_prev) diff --git a/home/packages.nix b/home/packages.nix index 3417cc2..a674e44 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -13,10 +13,10 @@ extraConfig = '' set -sg escape-time 10 - set-option -g status-bg "#FB607F" + set-option -g status-bg "#FFA500" set-option -g status-fg "#19191F" # pane border - set-option -g pane-active-border-style fg="#FB607F" #base01 + set-option -g pane-active-border-style fg="#FFA500" #base01 set -g window-status-format '#I:#(pwd="#{pane_current_path}"; echo ''${pwd####*/})#F' set -g window-status-current-format '#I:#(pwd="#{pane_current_path}"; echo ''${pwd####*/})#F' @@ -118,6 +118,8 @@ ripgrep# better version of `grep` tealdeer# rust implementation of `tldr` diff-so-fancy# used for `git diff` + fq + jq ; # Kensho stuff @@ -131,7 +133,6 @@ # Dev stuff inherit (pkgs) - jq nodejs poetry go# Required for jsonnet-language-server