dotfiles

Cross platform dotfiles for linux, mac and windows

commit adf05026cf9bc9c71937d893e73ce35d88a50f67
parent 580b6a0fd7aa782627a76946376a7c3e598ceb1c
Author: Bharatvaj <bharatvaj@yahoo.com>
Date: Fri, 9 Sep 2022 05:13:38 +0530

Add cam for opening camera in mac

Move hyper-red theme to separate file for alacritty

Add the submodules,
vim-vinegar,
Command-T for nvim

Add vim-vinegar for vim
9 files changed, 20 insertions(+), 31 deletions(-)
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
@@ -7,6 +7,7 @@ import:
   - ~/.config/alacritty/unix.yml
   - ~/.config/alacritty/windows.yml
   - ~/.config/alacritty/mac.yml
+  - ~/.config/alacritty/bindings.yml
 
 live_config_reload: true
 
diff --git a/.config/alacritty/bindings.yml b/.config/alacritty/bindings.yml
@@ -0,0 +1,2 @@
+key_bindings:
+  - { key: N, mods: Control|Shift, action: CreateNewWindow}
diff --git a/.config/alacritty/theme.yml b/.config/alacritty/hyper.yml
diff --git a/.config/alacritty/theme.yml b/.config/alacritty/theme.yml
@@ -1,31 +1,2 @@
-# Colors (Hyper)
-colors:
-  # Default colors
-  primary:
-    background: '0x000000'
-    foreground: '0xffffff'
-  cursor:
-    text: '0xF81CE5'
-    cursor: '0xffffff'
-
-  # Normal colors
-  normal:
-    black:   '0x000000'
-    red:     '0xfe0100'
-    green:   '0x33ff00'
-    yellow:  '0xfeff00'
-    blue:    '0x0066ff'
-    magenta: '0xcc00ff'
-    cyan:    '0x00ffff'
-    white:   '0xd0d0d0'
-
-  # Bright colors
-  bright:
-    black:   '0x808080'
-    red:     '0xfe0100'
-    green:   '0x33ff00'
-    yellow:  '0xfeff00'
-    blue:    '0x0066ff'
-    magenta: '0xcc00ff'
-    cyan:    '0x00ffff'
-    white:   '0xFFFFFF'
+import:
+  - ~/.config/alacritty/hyper.yml
diff --git a/.config/nvim/vim-vinegar b/.config/nvim/vim-vinegar
@@ -0,0 +1 @@
+Subproject commit bb1bcddf43cfebe05eb565a84ab069b357d0b3d6
diff --git a/.gitmodules b/.gitmodules
@@ -100,3 +100,12 @@
 [submodule ".local/share/nvim/pack/themes/start/gruvbox-material"]
 	path = .local/share/nvim/pack/themes/start/gruvbox-material
 	url = https://git::@github.com/sainnhe/gruvbox-material.git
+[submodule ".local/share/nvim/pack/general/start/Command-T"]
+	path = .local/share/nvim/pack/general/start/Command-T
+	url = https://github.com/wincent/Command-T
+[submodule ".config/nvim/vim-vinegar"]
+	path = .config/nvim/vim-vinegar
+	url = https://github.com/tpope/vim-vinegar
+[submodule ".local/share/nvim/pack/general/start/vim-vinegar"]
+	path = .local/share/nvim/pack/general/start/vim-vinegar
+	url = https://github.com/tpope/vim-vinegar
diff --git a/.local/bin/sh/cam b/.local/bin/sh/cam
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ffplay -f avfoundation -i 1:0 -video_size 1280x720 -framerate 30
diff --git a/.local/share/nvim/pack/general/start/Command-T b/.local/share/nvim/pack/general/start/Command-T
@@ -0,0 +1 @@
+Subproject commit 0356d6735f6360b52a898db398974fcf08de66ff
diff --git a/.local/share/nvim/pack/general/start/vim-vinegar b/.local/share/nvim/pack/general/start/vim-vinegar
@@ -0,0 +1 @@
+Subproject commit bb1bcddf43cfebe05eb565a84ab069b357d0b3d6