dotfiles

Cross platform dotfiles for linux, mac and windows
git clone git@getsh.org:dotfiles.git
Log | Files | Refs

commit 05f41e6feda9e6d6d70f9a804f24b3f10b00d5e6
parent 6328891be98cee5ea89ec6a05238c5c5dc166fba
Author: bharatvaj.ph <bharatvaj.ph@zohocorp.com>
Date:   Sat, 23 Apr 2022 01:02:50 +0530

Merge branch 'base' of https://github.com/bharatvaj/dotfiles into windows

Diffstat:
M.config/.gitignore | 2+-
M.config/git/config | 1+
A.config/nvim/lua/utils.lua | 11+++++++++++
M.gitignore | 2++
4 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/.config/.gitignore b/.config/.gitignore @@ -15,7 +15,7 @@ !lynx/ !lynx/lynx.cfg !lynx/lynx.lss -!nvim +!nvim/ !nvim/** !sh/ !sh/** diff --git a/.config/git/config b/.config/git/config @@ -16,6 +16,7 @@ p = pull pu = push rv = remote --verbose + sm = submodule st = status suir = submodule update --init --recursive wt = worktree diff --git a/.config/nvim/lua/utils.lua b/.config/nvim/lua/utils.lua @@ -0,0 +1,11 @@ +local M = {} + +function M.map(mode, lhs, rhs, opts) + local options = { noremap = true } + if opts then + options = vim.tbl_extend("force", options, opts) + end + vim.api.nvim_set_keymap(mode, lhs, rhs, options) +end + +return M diff --git a/.gitignore b/.gitignore @@ -18,3 +18,5 @@ !.local/ !.local/bin/ !.local/bin/* + +!.local/share/vim/pack/**/start/**