Skip to content

Commit

Permalink
smol changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BSathvik committed Jan 2, 2024
1 parent 3bca798 commit f4466d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions configs/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -606,6 +607,9 @@ vim.keymap.set("n", ";", ":bprevious<CR>", { noremap = true, silent = true })
-- Hide all other split windows
vim.keymap.set("n", "<C-w>z", ":vertical resize<CR>", { noremap = true, silent = true })

-- Copy full path name of file into clipboard
vim.keymap.set("n", "<C-w>y", ":!echo $PWD/% | pbcopy<CR>", { noremap = true, silent = true })

-- Diagnostic keymaps
vim.keymap.set("n", "<leader>e", vim.diagnostic.open_float)
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
Expand Down
7 changes: 4 additions & 3 deletions home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand All @@ -131,7 +133,6 @@

# Dev stuff
inherit (pkgs)
jq
nodejs
poetry
go# Required for jsonnet-language-server
Expand Down

0 comments on commit f4466d2

Please sign in to comment.