mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
# Tmux Config
- Added Catppuccin theme - Added kitty terminal config # Sync and Rectify Vim & NVIM - Undo files are incompatible between VIM & NVIM - saved those files separately - Keybinding for saving and quitting moved to VIM config - VIM & NVIM swapfiles removed - More VIM options set to enhance usability - Synced system vim config and keybindings with ideavimrc # Shell Script File Changes - Reverted to using `#!/bin/sh` as bash is slow and not POSIX compliant. - Reformatted
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
-- Nvim Specific Configs that don't apply to VIM
|
||||
vim.opt.undodir = vim.fn.stdpath("config") .. "/undo"
|
||||
vim.opt.backupdir = vim.fn.stdpath("config") .. "/backup/"
|
||||
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
-- <Ctrl-Alt-s> -> to save all files
|
||||
vim.keymap.set({ "n", "i", "v" }, "<C-M-s>", "<cmd>wa<CR>", {})
|
||||
-- <Ctrl-q> -> Save all files and quit Nvim
|
||||
vim.keymap.set({ "n", "i", "v" }, "<C-q>", "<cmd>wqa<CR>", {})
|
||||
|
||||
-- Remap for dealing with word wrap
|
||||
vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true })
|
||||
vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true })
|
||||
|
||||
Reference in New Issue
Block a user