Author SHA1 Message Date
dependabot[bot]andGitHub 58faf51840 Bump ip from 1.1.8 to 1.1.9 in /home/.node_modules_mine
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 06:56:54 +00:00
harish2704 d7e49b646c Cleanup and update node_modules 2024-02-17 21:53:16 +05:30
harish2704 6dd3ed0b1c Added pyenv
added updated alacritty confg
Changed lunarvim shorten display
2024-02-11 15:42:21 +05:30
harish2704 5b652223aa Disable null-ls 2024-02-11 15:31:28 +05:30
harish2704 e89937e4b3 Update changes for ibus settings 2024-02-11 15:31:16 +05:30
harish2704 20bfe52f2e Update from len lap 2023-12-25 08:59:11 +05:30
harish2704 ba402cd254 Add chromium fix 2023-12-25 08:58:25 +05:30
harish2704 b20aef6d9b Update node_modules 2023-11-27 16:09:41 +05:30
harish2704 3fbee04d57 Merge branch 'master' of github.com:harish2704/dotFiles 2023-11-27 15:53:20 +05:30
harish2704 23fcc5e74c Updates 2023-11-27 15:51:19 +05:30
harish2704 79633dc2c8 Customize TK theme 2023-10-22 18:10:12 +05:30
harish2704 6b1c42e3bb Merge branch 'master' of github.com:harish2704/dotFiles
# Conflicts:
#	home/.local/Apps/daily-utils/bin/hari-tools.sh
2023-10-22 17:25:29 +05:30
harish2704 ac55743238 per user podman start 2023-10-22 17:23:48 +05:30
harish2704 05bb1a04ce Update 2023-10-19 22:44:32 +05:30
harish2704 7534e7dc31 Updated faker 2023-10-17 23:33:53 +05:30
harish2704 f7915452e9 Added cli to quickly run any linux distro as container 2023-10-17 23:33:44 +05:30
harish2704 8602e2c893 <Alt+1-9> for switching tabs
Remap terminal opening to <Leader>ts, tv & tf
change telescope.defaults.path_display = { "shorten" };
Add tab-switching and moving key map using Ctr+J/K similar to Ctrl+PageUp/Down
2023-10-10 18:46:05 +05:30
harish2704 1e905030b4 vim: Added narrow Region
Added my php snippets
2023-09-28 08:27:50 +05:30
harish2704 1dbf687596 Update 2023-09-25 10:29:20 +05:30
harish2704 aca8316422 Fix neovim config for snippets and added user snippets 2023-09-25 10:28:32 +05:30
harish2704 ac66a60f4a Fix BASH PS1 2023-09-23 23:35:28 +05:30
harish2704 4e98d78b8d Update bash prompt 2023-09-23 01:07:35 +05:30
harish2704 2f536ff4a4 Update Plug 2023-09-22 23:30:46 +05:30
harish2704 398949e599 Update 2023-09-22 23:24:36 +05:30
harish2704 ff715cd9ac Update Readme 2023-09-22 22:49:44 +05:30
harish2704 02b7972704 Misc updates 2023-09-22 12:02:00 +05:30
harish2704 c3e9a96a44 Cleanup bashrc 2023-09-22 12:00:21 +05:30
harish2704 9301e6e155 Added system-monitor fork add on 2023-09-22 11:57:43 +05:30
harish2704 eb5f9824a6 Merge branch 'master' of github.com:harish2704/dotFiles 2023-09-19 02:33:42 +05:30
harish2704 cfc9025f83 Rm old files 2023-09-19 02:33:25 +05:30
harish2704 e6ad0f75ea Install node using nvm 2023-09-19 00:26:56 +05:30
harish2704 6f9609bb6f Misc fixes 2023-09-19 00:21:52 +05:30
harish2704 45186b5796 Added installer script 2023-09-19 00:02:37 +05:30
harish2704 bad43a250c Updates 2023-09-18 22:00:37 +05:30
harish2704 a3d259ca5f Rm OpenAI key 2023-09-18 17:13:32 +05:30
harish2704 84e1e2ef45 Rm node_moduels in homedir 2023-09-18 15:07:52 +05:30
harish2704 2482cc5007 Merge branch 'master' of github.com:harish2704/dotFiles 2023-09-18 15:06:41 +05:30
harish2704 68d3c3c06a Update 2023-09-18 15:05:28 +05:30
harish2704 8eeb46e57e Update 2023-09-18 13:59:02 +05:30
harish2704 ab26261924 Update 2023-09-18 13:56:22 +05:30
harish2704 d5a31f833b Updates 2023-09-18 13:54:47 +05:30
harish2704 04f4b43eb0 Rm old files 2023-09-18 13:52:54 +05:30
harish2704 16a013293b update 2023-09-18 13:41:06 +05:30
harish2704andGitHub 3cb93f9f96 Merge pull request #18 from harish2704/dependabot/npm_and_yarn/home/electron-22.3.21
Bump electron from 21.1.1 to 22.3.21 in /home
2023-09-10 22:31:59 +05:30
harish2704 6687da63a1 Added
* TS[X] to js[x] transpiler
* touchp like mkdirp
* command to change size of waydroid container
* Restart pulseaudio
* Convert video for mobile phones
* change selinux context of directory so that docker can access those files
* Start a Developer session in current directory
* Clone a git repo using given ssh key
2023-09-09 11:52:26 +05:30
dependabot[bot]andGitHub 6d0c9e7fd0 Bump electron from 21.1.1 to 22.3.21 in /home
Bumps [electron](https://github.com/electron/electron) from 21.1.1 to 22.3.21.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v21.1.1...v22.3.21)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 20:40:23 +00:00
harish2704 544641f800 Update neovim config 2023-06-28 17:21:53 +05:30
harish2704 55239d7801 Added more tools 2023-06-28 17:18:40 +05:30
harish2704 2e6e0a997d Simple html editor using grapeJS
Test bed to test neovim distros
2023-03-16 16:41:37 +05:30
harish2704 9b816966a2 Added nvim-distros 2023-03-16 16:05:40 +05:30
harish2704 fd261114a0 Merge branch 'master' of github.com:harish2704/dotFiles 2023-03-16 15:52:28 +05:30
harish2704 9b74ed3e95 Update 2023-03-16 15:51:37 +05:30
harish2704 a5871c48e4 resize pdf
php debug server
2023-03-16 15:51:29 +05:30
harish2704 fb309b33fc Added Ibus utils 2023-03-16 14:33:18 +05:30
harish2704 e5dfab86bf Processed list 2022-12-12 18:46:27 +05:30
harish2704 35f878ed04 installed Python packages 2022-12-12 18:35:06 +05:30
harish2704 ce964b3b58 Misc updates 2022-12-12 18:16:54 +05:30
758 changed files with 52285 additions and 122227 deletions
+4
View File
@@ -0,0 +1,4 @@
home/.local/Apps/neovim-distros/lunarvim/cache
home/.local/Apps/neovim-distros/lunarvim/share
home/.local/Apps/neovim-distros/lunarvim/LunarVim
node_modules
+4
View File
@@ -2,6 +2,10 @@ dotFiles
========
My dot files
## Usage
```sh
stow --ignore=.local/Apps/neovim-distros/lunarvim/share --ignore=.local/Apps/neovim-distros/lunarvim/cache -t $HOME home
```
## This includes
* My openbox configuration files
* my favorite keyboard-mappings
+1
View File
@@ -0,0 +1 @@
*TkTheme: clam
-8
View File
@@ -1,8 +0,0 @@
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
+36 -10
View File
@@ -2,20 +2,46 @@
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
if [[ -f /usr/share/fzf/shell/key-bindings.bash ]]; then
. /usr/share/fzf/shell/key-bindings.bash
fi
if [[ -f $HOME/.local/Apps/daily-utils/hari-autocomplete.sh ]]; then
. $HOME/.local/Apps/daily-utils/hari-autocomplete.sh
fi
# C_ORANGERED1="\[\e[38;5;202m\]"
# C_DARKCYAN="\[\e[38;5;36m\]"
# C_YELLOW="\[\e[38;5;11m\]"
# C_CYAN1="\[\e[38;5;51m\]"
# C_RED="\[\033[38;5;9m\]"
NO_FORMAT="\[\e[0m\]"
F_BOLD="\[\e[1m\]"
C_YELLOW1="\[\e[38;5;226m\]"
C_AQUAMARINE1="\[\e[38;5;86m\]"
PS1="${F_BOLD}${C_AQUAMARINE1}\u@\h${C_YELLOW1} \w \\\$${NO_FORMAT} "
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
export DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock
export EDITOR=vim
export HISTCONTROL=ignoredups
export HISTSIZE=11000
export HISTFILESIZE=11000
alias ip='ip --color=auto'
export NVM_DIR="$HOME/.nvm"
nvmLoad(){
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
}
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
export TIME_STYLE=long-iso
. /usr/share/fzf/shell/key-bindings.bash
+45
View File
@@ -0,0 +1,45 @@
[font]
size = 14.0
[font.normal]
family = "CodeNewRoman Nerd Font Mono"
[[keyboard.bindings]]
chars = "\u001B[13;2u"
key = "Return"
mods = "Shift"
[[keyboard.bindings]]
chars = "\u001B[13;5u"
key = "Return"
mods = "Control"
[[keyboard.bindings]]
chars = "\u001B[13;6u"
key = "Return"
mods = "Control|Shift"
[[keyboard.bindings]]
chars = "\u001B[Z"
key = "Tab"
mods = "Shift"
[[keyboard.bindings]]
chars = "\u001B[27;5;9~"
key = "Tab"
mods = "Control"
[[keyboard.bindings]]
chars = "\u001B[27;6;9~"
key = "Tab"
mods = "Control|Shift"
[[keyboard.bindings]]
chars = "\u001B[74;5u"
key = "J"
mods = "Control|Shift"
[[keyboard.bindings]]
chars = "\u001B[75;5u"
key = "K"
mods = "Control|Shift"
+5 -2
View File
@@ -1,8 +1,8 @@
font:
size: 13.0
size: 14.0
normal:
# family: Source Code Pro Medium
family: DejaVuSansMono Nerd Font Mono
family: CodeNewRoman Nerd Font Mono
key_bindings:
- { key: Return, mods: Shift, chars: "\e[13;2u" }
@@ -11,3 +11,6 @@ key_bindings:
- { key: Tab, mods: Shift, chars: "\e[Z" }
- { key: Tab, mods: Control, chars: "\e[27;5;9~" }
- { key: Tab, mods: Control|Shift, chars: "\e[27;6;9~" }
- { key: J, mods: Control|Shift, chars: "\x1b[74;5u" }
- { key: K, mods: Control|Shift, chars: "\x1b[75;5u" }
@@ -0,0 +1,25 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM 'urn:fontconfig:fonts.dtd'>
<!-- SPDX-License-Identifier: MIT -->
<fontconfig>
<!-- Generic alias this font to sans-serif -->
<alias>
<family>Manjari</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- For Malayalam sans-serif, prefer this font -->
<match>
<test compare="contains" name="lang">
<string>ml</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Manjari</string>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>
+33 -10
View File
@@ -1,5 +1,7 @@
[ActivityManager]
_k_friendly_name=Activity Manager
switch-to-activity-2b22975f-ece8-4bc8-a72a-f88fc0add08b=none,none,Switch to activity "Default"
switch-to-activity-5631f9b9-eda6-43ff-826c-7cb51e8f26f5=none,none,Switch to activity "Default"
switch-to-activity-acb90208-98fb-44c9-a0d0-ed2e3c67520c=none,none,Switch to activity "Default"
[KDE Keyboard Layout Switcher]
@@ -32,7 +34,6 @@ _k_friendly_name=Custom Shortcuts Service
{3c04e4ea-1f6e-430e-82bb-0e4adb79a6a3}=none,none,Scan
{5d4c37a6-d8b3-40b0-aa6a-92f325302538}=none,none,Save Profile 1
{81787487-f07d-4111-b1cf-9da1406075ca}=none,none,Load Profile 1
{96759833-7730-4bd7-b4e7-d2c785658045}=Ctrl+Alt+T,none,Launch Konsole
{96c0b3ae-9d0d-45dd-b275-c11c01424ff7}=none,none,Preview
{9f894206-fbcf-48f1-9fb3-df9cec37bacb}=none,none,Load Profile 2
{aaed7bc1-a7bc-4abc-b319-9b95abb5216b}=none,none,Cancel Scan
@@ -57,13 +58,16 @@ _k_friendly_name=Session Management
[kwin]
Activate Window Demanding Attention=Ctrl+Alt+A,Meta+Ctrl+A,Activate Window Demanding Attention
Decrease Opacity=none,,Decrease Opacity of Active Window by 5 %
Decrease Opacity=Meta+_,,Decrease Opacity of Active Window by 5%
Edit Tiles=Meta+T,Meta+T,Toggle Tiles Editor
Expose=Ctrl+F9,Ctrl+F9,Toggle Present Windows (Current desktop)
ExposeAll=Ctrl+F10\tLaunch (C),Ctrl+F10\tLaunch (C),Toggle Present Windows (All desktops)
ExposeClass=Ctrl+F7,Ctrl+F7,Toggle Present Windows (Window class)
Increase Opacity=none,,Increase Opacity of Active Window by 5 %
Invert Screen Colors=none,,Invert Screen Colors
ExposeClassCurrentDesktop=none,none,Toggle Present Windows (Window class on current desktop)
Increase Opacity=Meta++,,Increase Opacity of Active Window by 5%
Invert Screen Colors=none,none,Invert Screen Colors
Kill Window=Ctrl+Alt+Esc,Meta+Ctrl+Esc,Kill Window
Move Tablet to Next Output=none,none,Move the tablet to the next output
MoveMouseToCenter=Meta+F6,Meta+F6,Move Mouse to Center
MoveMouseToFocus=Meta+F5,Meta+F5,Move Mouse to Focus
MoveZoomDown=none,none,Move Zoomed Area Downwards
@@ -72,7 +76,7 @@ MoveZoomRight=none,none,Move Zoomed Area to Right
MoveZoomUp=none,none,Move Zoomed Area Upwards
Overview=Meta+W,Meta+W,Toggle Overview
Setup Window Shortcut=none,,Setup Window Shortcut
Show Desktop=Meta+D,Meta+D,Show Desktop
Show Desktop=Meta+D,Meta+D,Peek at Desktop
ShowDesktopGrid=Ctrl+F8,Meta+F8,Show Desktop Grid
Suspend Compositing=Alt+Shift+F12,Alt+Shift+F12,Suspend Compositing
Switch One Desktop Down=Ctrl+Alt+Down,Meta+Ctrl+Down,Switch One Desktop Down
@@ -115,6 +119,10 @@ Switch to Screen 4=none,,Switch to Screen 4
Switch to Screen 5=none,,Switch to Screen 5
Switch to Screen 6=none,,Switch to Screen 6
Switch to Screen 7=none,,Switch to Screen 7
Switch to Screen Above=none,,Switch to Screen Above
Switch to Screen Below=none,,Switch to Screen Below
Switch to Screen to the Left=none,,Switch to Screen to the Left
Switch to Screen to the Right=none,,Switch to Screen to the Right
Toggle Night Color=none,none,Toggle Night Color
Toggle Window Raise/Lower=none,,Toggle Window Raise/Lower
Walk Through Desktop List=none,,Walk Through Desktop List
@@ -140,14 +148,18 @@ Window Maximize=Meta+PgUp,Meta+PgUp,Maximize Window
Window Maximize Horizontal=none,,Maximize Window Horizontally
Window Maximize Vertical=none,,Maximize Window Vertically
Window Minimize=Meta+PgDown,Meta+PgDown,Minimize Window
Window Move=none,,Move Window
Window Move=F6,,Move Window
Window Move Center=none,,Move Window to the Center
Window No Border=none,,Hide Window Border
Window No Border=none,,Toggle Window Titlebar and Frame
Window On All Desktops=none,,Keep Window on All Desktops
Window One Desktop Down=Ctrl+Alt+Shift+Down,Meta+Ctrl+Shift+Down,Window One Desktop Down
Window One Desktop Up=Ctrl+Alt+Shift+Up,Meta+Ctrl+Shift+Up,Window One Desktop Up
Window One Desktop to the Left=Ctrl+Alt+Shift+Left,Meta+Ctrl+Shift+Left,Window One Desktop to the Left
Window One Desktop to the Right=Ctrl+Alt+Shift+Right,Meta+Ctrl+Shift+Right,Window One Desktop to the Right
Window One Screen Down=none,,Window One Screen Down
Window One Screen Up=none,,Window One Screen Up
Window One Screen to the Left=none,,Window One Screen to the Left
Window One Screen to the Right=none,,Window One Screen to the Right
Window Operations Menu=Alt+F3,Alt+F3,Window Operations Menu
Window Pack Down=none,,Move Window Down
Window Pack Left=none,,Move Window Left
@@ -200,7 +212,7 @@ Window to Screen 6=none,,Window to Screen 6
Window to Screen 7=none,,Window to Screen 7
_k_friendly_name=KWin
view_actual_size=Meta+0,Meta+0,Zoom to Actual Size
view_zoom_in=Meta+=,Meta+=,Zoom In
view_zoom_in=Meta+=,Meta++\tMeta+=,Zoom In
view_zoom_out=Meta+-,Meta+-,Zoom Out
[mediacontrol]
@@ -229,10 +241,20 @@ _launch=none,none,Flameshot
_k_friendly_name=Dolphin
_launch=Meta+E,Meta+E,Dolphin
[org.kde.kcalc.desktop]
_k_friendly_name=KCalc
_launch=Launch (1),Launch (1),KCalc
[org.kde.konsole.desktop]
NewTab=none,none,Open a New Tab
NewWindow=none,none,Open a New Window
_k_friendly_name=Konsole
_launch=Ctrl+Alt+T,none,Konsole
[org.kde.krunner.desktop]
RunClipboard=Alt+Shift+F2,Alt+Shift+F2,Run command on clipboard contents
_k_friendly_name=KRunner
_launch=Alt+Space\tAlt+F2\tSearch,Alt+Space\tAlt+F2\tSearch,KRunner
_launch=Alt+F2\tAlt+Space,Alt+Space\tAlt+F2\tSearch,KRunner
[org.kde.plasma.emojier.desktop]
_k_friendly_name=Emoji Selector
@@ -243,7 +265,7 @@ ActiveWindowScreenShot=none,Meta+Print,Capture Active Window
CurrentMonitorScreenShot=Print,none,Capture Current Monitor
FullScreenScreenShot=Shift+Print,Shift+Print,Capture Entire Desktop
OpenWithoutScreenshot=none,none,Launch Spectacle without capturing
RectangularRegionScreenShot=none,Meta+Shift+Print,Capture Rectangular Region
RectangularRegionScreenShot=Meta+Shift+Print,Meta+Shift+Print,Capture Rectangular Region
WindowUnderCursorScreenShot=Meta+Ctrl+Print,Meta+Ctrl+Print,Capture Window Under Cursor
_k_friendly_name=Spectacle
_launch=none,Print,Launch Spectacle
@@ -275,6 +297,7 @@ activate task manager entry 8=Meta+8,Meta+8,Activate Task Manager Entry 8
activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9
activate widget 27=none,none,Activate Task Manager Widget
activate widget 4=Alt+F1,none,Activate Application Launcher Widget
activate widget 69=none,none,Activate Digital Clock Widget
clear-history=none,none,Clear Clipboard History
clipboard_action=Ctrl+Alt+X,Meta+Ctrl+X,Automatic Action Popup Menu
cycle-panels=Meta+Alt+P,Meta+Alt+P,Move keyboard focus between panels
+6 -28
View File
@@ -1,5 +1,5 @@
[$Version]
update_info=spectacle_shortcuts.upd:spectacle-migrate-shortcuts
update_info=spectacle_shortcuts.upd:spectacle-migrate-shortcuts,konsole_globalaccel.upd:konsole_globalaccel,konsole.upd:konsole_globalaccel
[ColorEffects:Disabled]
ChangeSelectionColor[$d]
@@ -140,7 +140,7 @@ DataCount=5
[Data_1]
Comment=KMenuEdit Global Shortcuts
DataCount=2
DataCount=1
Enabled=true
Name=KMenuEdit
SystemGroup=1
@@ -176,32 +176,6 @@ Key=
Type=SHORTCUT
Uuid={d03619b6-9b3c-48cc-9d9c-a2aadb485550}
[Data_1_2]
Comment=Global keyboard shortcut to launch Konsole
Enabled=true
Name=Launch Konsole
Type=MENUENTRY_SHORTCUT_ACTION_DATA
[Data_1_2Actions]
ActionsCount=1
[Data_1_2Actions0]
CommandURL=org.kde.konsole.desktop
Type=MENUENTRY
[Data_1_2Conditions]
Comment=
ConditionsCount=0
[Data_1_2Triggers]
Comment=Simple_action
TriggersCount=1
[Data_1_2Triggers0]
Key=Ctrl+Alt+T
Type=SHORTCUT
Uuid={96759833-7730-4bd7-b4e7-d2c785658045}
[Data_2]
Comment=This group contains various examples demonstrating most of the features of KHotkeys. (Note that this group and all its actions are disabled by default.)
DataCount=8
@@ -1273,6 +1247,10 @@ Key=
Type=SHORTCUT
Uuid={96c0b3ae-9d0d-45dd-b275-c11c01424ff7}
[DirSelect Dialog]
DirSelectDialog Size[$d]
History Items[$d]
[General]
AccentColor[$d]
BrowserApplication[$d]
+66 -3
View File
@@ -1,5 +1,5 @@
[$Version]
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed,kwin.upd:desktop-grid-click-behavior,kwin.upd:no-swap-encourage,kwin.upd:make-translucency-effect-disabled-by-default,kwin.upd:remove-flip-switch-effect,kwin.upd:remove-cover-switch-effect,kwin.upd:remove-cubeslide-effect,kwin.upd:remove-xrender-backend,kwin.upd:enable-scale-effect-by-default,kwin.upd:overview-group-plugin-id,kwin.upd:animation-speed-cleanup
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed,kwin.upd:desktop-grid-click-behavior,kwin.upd:no-swap-encourage,kwin.upd:make-translucency-effect-disabled-by-default,kwin.upd:remove-flip-switch-effect,kwin.upd:remove-cover-switch-effect,kwin.upd:remove-cubeslide-effect,kwin.upd:remove-xrender-backend,kwin.upd:enable-scale-effect-by-default,kwin.upd:overview-group-plugin-id,kwin.upd:animation-speed-cleanup,kwin.upd:replace-cascaded-zerocornered
[Compositing]
GLTextureFilter=1
@@ -7,6 +7,9 @@ OpenGLIsUnsafe=false
[Desktops]
Id_1=530b2e8c-a321-41ca-ba52-2fba5b5e2f52
Id_10=af9aa3e6-6382-4ccb-a92d-800b0b1f74a7
Id_11=7aaace88-9ee2-43c0-844c-19c5514523d3
Id_12=63c876d8-76e7-4a8b-9903-7b30d31363e2
Id_2=76ffaa94-4f73-4520-a3e0-480eb3fa4d87
Id_3=84ef5d92-b39b-4f01-b593-76799daa2ce0
Id_4=5fe31393-808e-4747-8bfe-9a4df1075a59
@@ -15,6 +18,9 @@ Id_6=0259dad0-c996-46c7-b8a1-364756a779ed
Id_7=fc82803a-f727-408a-aa1f-84e76c11c1cf
Id_8=a52131ec-edac-4001-965f-ce878e73377e
Id_9=2feaf12f-0461-4372-8878-fdf5f282aec0
Name_10=Desktop 2
Name_11=Desktop 3
Name_12=Desktop 4
Name_2=New Desktop
Name_3=New Desktop
Name_4=New Desktop
@@ -23,7 +29,7 @@ Name_6=New Desktop
Name_7=New Desktop
Name_8=New Desktop
Name_9=New Desktop
Number=9
Number=12
Rows=3
[NightColor]
@@ -31,7 +37,7 @@ Active=true
LatitudeAuto=9.9185
LongitudeAuto=76.2558
Mode=Constant
NightTemperature=4800
NightTemperature=4200
[Plugins]
desktopchangeosdEnabled=true
@@ -39,5 +45,62 @@ desktopchangeosdEnabled=true
[Script-desktopchangeosd]
PopupHideDelay=200
[Tiling]
padding=4
[Tiling][0d39903c-8966-51c1-b3a1-c3ebda3dc7d0]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][31d42160-070b-554b-b196-ee308d3a8430]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][37c04cea-60e5-572b-8cdf-0edec2e3e650]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][439e5ff6-4113-5e1f-9343-637ddef82008]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][4b32c1ec-cf2f-5157-9ba6-70191f308af7]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][4f220735-699f-553f-a72e-7a926d3f0774]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][620b6d4f-c2c0-5dcb-abfb-a14e98a46430]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][6b9c3fe7-c68b-52f5-ace8-17b337127e5e]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][a149f44c-18c8-54d9-bea5-8d58d841af49]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][a3d991e5-e4d6-5b87-b0c7-d6949c612be9]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][bc2a8622-43e1-5de4-9a5d-521e479edee4]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][c8c8a1aa-ae6b-5caf-85b7-76aff40574b4]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][cb363ef7-affc-5675-a490-30c1baa9ff75]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][ccd244ca-5575-569f-a8c9-ce17c79b0288]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][e0ede2ad-3993-5f06-892f-6edfc85dc7f2]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][ecc5d445-b642-5d22-991f-6423e65b585e]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Wayland]
InputMethod[$e]=/usr/share/applications/org.freedesktop.IBus.Panel.Wayland.Gtk3.desktop
[Windows]
RollOverDesktops=false
[Xwayland]
Scale=1.25
+23 -12
View File
@@ -22,7 +22,7 @@
" Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
"
" " On-demand loading
" Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
" Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle' }
" Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
"
" " Using a non-default branch
@@ -242,6 +242,8 @@ function! plug#begin(...)
let home = s:path(s:plug_fnamemodify(s:plug_expand(a:1), ':p'))
elseif exists('g:plug_home')
let home = s:path(g:plug_home)
elseif has('nvim')
let home = stdpath('data') . '/plugged'
elseif !empty(&rtp)
let home = s:path(split(&rtp, ',')[0]) . '/plugged'
else
@@ -350,7 +352,7 @@ function! plug#end()
endif
let lod = { 'ft': {}, 'map': {}, 'cmd': {} }
if exists('g:did_load_filetypes')
if get(g:, 'did_load_filetypes', 0)
filetype off
endif
for name in g:plugs_order
@@ -405,7 +407,7 @@ function! plug#end()
for [map, names] in items(lod.map)
for [mode, map_prefix, key_prefix] in
\ [['i', '<C-O>', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
\ [['i', '<C-\><C-O>', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
execute printf(
\ '%snoremap <silent> %s %s:<C-U>call <SID>lod_map(%s, %s, %s, "%s")<CR>',
\ mode, map, map_prefix, string(map), string(names), mode != 'i', key_prefix)
@@ -1208,7 +1210,8 @@ function! s:update_impl(pull, force, args) abort
normal! 2G
silent! redraw
let s:clone_opt = []
" Set remote name, overriding a possible user git config's clone.defaultRemoteName
let s:clone_opt = ['--origin', 'origin']
if get(g:, 'plug_shallow', 1)
call extend(s:clone_opt, ['--depth', '1'])
if s:git_version_requirement(1, 7, 10)
@@ -2618,26 +2621,34 @@ function! s:preview_commit()
let sha = matchstr(getline('.'), '^ \X*\zs[0-9a-f]\{7,9}')
if empty(sha)
return
let name = matchstr(getline('.'), '^- \zs[^:]*\ze:$')
if empty(name)
return
endif
let title = 'HEAD@{1}..'
let command = 'git diff --no-color HEAD@{1}'
else
let title = sha
let command = 'git show --no-color --pretty=medium '.sha
let name = s:find_name(line('.'))
endif
let name = s:find_name(line('.'))
if empty(name) || !has_key(g:plugs, name) || !isdirectory(g:plugs[name].dir)
return
endif
if exists('g:plug_pwindow') && !s:is_preview_window_open()
execute g:plug_pwindow
execute 'e' sha
execute 'e' title
else
execute 'pedit' sha
execute 'pedit' title
wincmd P
endif
setlocal previewwindow filetype=git buftype=nofile nobuflisted modifiable
setlocal previewwindow filetype=git buftype=nofile bufhidden=wipe nobuflisted modifiable
let batchfile = ''
try
let [sh, shellcmdflag, shrd] = s:chsh(1)
let cmd = 'cd '.plug#shellescape(g:plugs[name].dir).' && git show --no-color --pretty=medium '.sha
let cmd = 'cd '.plug#shellescape(g:plugs[name].dir).' && '.command
if s:is_win
let [batchfile, cmd] = s:batchfile(cmd)
endif
@@ -2763,9 +2774,9 @@ function! s:snapshot(force, ...) abort
1
let anchor = line('$') - 3
let names = sort(keys(filter(copy(g:plugs),
\'has_key(v:val, "uri") && !has_key(v:val, "commit") && isdirectory(v:val.dir)')))
\'has_key(v:val, "uri") && isdirectory(v:val.dir)')))
for name in reverse(names)
let sha = s:git_revision(g:plugs[name].dir)
let sha = has_key(g:plugs[name], 'commit') ? g:plugs[name].commit : s:git_revision(g:plugs[name].dir)
if !empty(sha)
call append(anchor, printf("silent! let g:plugs['%s'].commit = '%s'", name, sha))
redraw
+3
View File
@@ -61,6 +61,9 @@ au BufEnter *.sshconf set ft=sshconfig
autocmd VimEnter *.py SyntasticToggleMode
" Disable sytax for big files
" autocmd BufWinEnter * if line2byte(line("$") + 1) > 10000 | set ft=text | let b:deoplete_disable_auto_complete = 1 | endif
" autocmd BufEnter * if getfsize(expand("%")) > 10000 | set ft=text | endif
" Syntax based folding found be slow. In most of the cases, we will do indenting according to syntax.
autocmd FileType java set foldmethod=indent
+1 -1
View File
@@ -223,4 +223,4 @@ nmap <M-Q> :bd!<CR>
vmap <C-h> "fy:%s#<C-r>f#
" Copy current word to 'f' register, search for that word
vmap <C-f> "fy/<C-r>f
" colorscheme elflord
colorscheme elflord
@@ -23,6 +23,16 @@ plugin=org.kde.plasma.digitalclock
[Containments][3][Applets][21][Configuration]
PreloadWeight=100
popupHeight=450
popupWidth=396
[Containments][3][Applets][21][Configuration][Appearance]
selectedTimeZones=America/New_York,Europe/Zagreb,Local
showSeconds=true
[Containments][3][Applets][21][Configuration][ConfigDialog]
DialogHeight=660
DialogWidth=880
[Containments][3][Applets][22]
immutability=1
@@ -72,6 +82,8 @@ plugin=org.kde.plasma.kickoff
[Containments][3][Applets][4][Configuration]
PreloadWeight=100
popupHeight=574
popupWidth=729
[Containments][3][Applets][4][Configuration][ConfigDialog]
DialogHeight=660
@@ -94,6 +106,19 @@ plugin=org.kde.plasma.pager
[Containments][3][Applets][5][Configuration]
PreloadWeight=26
[Containments][3][Applets][52]
immutability=1
plugin=org.kde.resourcesMonitor-fork
[Containments][3][Applets][52][Configuration][Appearance]
fontScale=32
graphHeight=1
graphWidth=1
[Containments][3][Applets][52][Configuration][ConfigDialog]
DialogHeight=660
DialogWidth=880
[Containments][3][Applets][8]
immutability=1
plugin=org.kde.plasma.systemtray
@@ -110,13 +135,13 @@ DialogWidth=1920
PreloadWeight=18
[Containments][3][General]
AppletOrder=4;28;38;27;5;22;8;21;31
AppletOrder=4;28;38;27;52;5;22;8;21;31
[Containments][47]
ItemGeometries-1600x900=
[Containments][50]
ItemGeometries-1536x864=
ItemGeometries-1920x1080=
ItemGeometriesHorizontal=
activityId=acb90208-98fb-44c9-a0d0-ed2e3c67520c
activityId=2b22975f-ece8-4bc8-a72a-f88fc0add08b
formfactor=0
immutability=1
lastScreen=0
@@ -124,25 +149,13 @@ location=0
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image
[Containments][47][Wallpaper][org.kde.image][General]
Image=file:///usr/share/backgrounds/f36/default/f36-01-day.png
[Containments][50][General]
ToolBoxButtonState=topcenter
ToolBoxButtonX=377
ToolBoxButtonY=34
[Containments][48]
ItemGeometries-1600x900=
ItemGeometriesHorizontal=
activityId=acb90208-98fb-44c9-a0d0-ed2e3c67520c
formfactor=0
immutability=1
lastScreen=0
location=0
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image
[Containments][48][Wallpaper][org.kde.image][General]
Image=file:///usr/share/backgrounds/f36/default/f36-01-day.png
[Containments][49]
activityId=acb90208-98fb-44c9-a0d0-ed2e3c67520c
[Containments][51]
activityId=2b22975f-ece8-4bc8-a72a-f88fc0add08b
formfactor=0
immutability=1
lastScreen=1
@@ -150,9 +163,6 @@ location=0
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image
[Containments][49][Wallpaper][org.kde.image][General]
Image=file:///usr/share/wallpapers/F36/contents/images/1920x1080.png
[Containments][9]
activityId=
formfactor=2
@@ -160,6 +170,8 @@ immutability=1
lastScreen=0
location=3
plugin=org.kde.plasma.private.systemtray
popupHeight=432
popupWidth=432
wallpaperplugin=org.kde.image
[Containments][9][Applets][10]
@@ -209,7 +221,7 @@ immutability=1
plugin=org.kde.plasma.nightcolorcontrol
[Containments][9][Applets][16][Configuration]
PreloadWeight=26
PreloadWeight=2
[Containments][9][Applets][17]
immutability=1
@@ -243,6 +255,10 @@ PreloadWeight=100
DialogHeight=660
DialogWidth=880
[Containments][9][Applets][20][Configuration][General]
currentTab=streams
migrated=true
[Containments][9][Applets][23]
immutability=1
plugin=org.kde.plasma.battery
@@ -287,8 +303,8 @@ PreloadWeight=26
[Containments][9][General]
extraItems=org.kde.kdeconnect,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.plasma.manage-inputmethod,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.nightcolorcontrol,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.vault,org.kde.plasma.volume,org.kde.kscreen
knownItems=org.kde.kdeconnect,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.plasma.manage-inputmethod,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.nightcolorcontrol,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.vault,org.kde.plasma.volume
knownItems=org.kde.kdeconnect,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.plasma.manage-inputmethod,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.nightcolorcontrol,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.vault,org.kde.plasma.volume,org.kde.kscreen
[ScreenMapping]
itemsOnDisabledScreens=0,acb90208-98fb-44c9-a0d0-ed2e3c67520c,4,desktop:/chromium-browser-gtk4.desktop,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_2.desktop,desktop:/chrome-majibeacmijgldglfjdinbpoekheiobd-Default.desktop,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_9.desktop
screenMapping=desktop:/chromium-browser-gtk4.desktop,1,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_2.desktop,1,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-majibeacmijgldglfjdinbpoekheiobd-Default.desktop,1,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_9.desktop,1,acb90208-98fb-44c9-a0d0-ed2e3c67520c
screenMapping=desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_2.desktop,0,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_9.desktop,0,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-majibeacmijgldglfjdinbpoekheiobd-Default.desktop,0,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chromium-browser-gtk4.desktop,0,acb90208-98fb-44c9-a0d0-ed2e3c67520c
+1
View File
@@ -0,0 +1 @@
../../../.profile
+80 -34
View File
@@ -8,8 +8,8 @@
show_thumbnail=1
[Window]
width=1022
height=691
width=1280
height=659
maximized=1
[Desktop]
@@ -31,9 +31,9 @@ dev_show_file-lbl=Mounted _Files
dev_show_file-b=1
dev_dispname-s=%v %s %l %m
dev_dispname-z=%v %s %l %m
dev_automount_optical-b=1
dev_automount_removable-b=1
dev_auto_open-b=1
dev_automount_optical-b=2
dev_automount_removable-b=2
dev_auto_open-b=2
dev_mount_options-s=noexec, nosuid, noatime
dev_mount_options-z=noexec, nosuid, noatime
dev_remount_options-s=noexec, nosuid, noatime
@@ -52,6 +52,7 @@ book_icon-lbl=_Icon
book_show-b=1
book_add-key=100
book_add-keymod=4
main_book-child=cstm_3164fd7c
move_filename-b=1
move_path-b=1
move_type-b=1
@@ -70,7 +71,7 @@ status_info-b=1
main_new_window-key=110
main_new_window-keymod=4
main_search-x=580
main_search-y=427
main_search-y=457
main_search-key=83
main_search-keymod=5
main_terminal-s=konsole
@@ -80,22 +81,22 @@ main_save_tabs-b=1
main_exit-key=113
main_exit-keymod=4
panel1_show-s=////
panel1_show-x=0
panel1_show-x=7
panel1_show-key=49
panel1_show-keymod=4
panel1_show-b=1
panel2_show-s=////
panel2_show-x=0
panel2_show-x=5
panel2_show-key=50
panel2_show-keymod=4
panel2_show-b=2
panel3_show-s=////
panel3_show-x=0
panel3_show-x=1
panel3_show-key=51
panel3_show-keymod=4
panel3_show-b=2
panel4_show-s=////
panel4_show-x=0
panel4_show-x=2
panel4_show-key=52
panel4_show-keymod=4
panel4_show-b=2
@@ -157,13 +158,13 @@ task_show_manager-x=257
task_show_manager-b=2
task_hide_manager-b=1
task_popups-s=600
task_popups-x=744
task_popups-x=762
task_popups-y=432
task_popups-z=324
task_pop_all-b=2
task_pop_top-s=750
task_pop_top-x=750
task_pop_top-y=342
task_pop_top-x=1600
task_pop_top-y=825
task_pop_top-z=204
task_pop_top-b=2
task_pop_above-b=2
@@ -298,7 +299,6 @@ prop_perm-key=112
prop_perm-keymod=4
panel1_show_toolbox-b=1
panel1_show_devmon-b=1
panel1_show_dirtree-b=1
panel1_show_book-b=1
panel1_show_sidebar-b=2
panel1_list_detailed-x=2
@@ -450,7 +450,7 @@ panel1_slider_positions-y=198
panel_sliders-s=405
panel_sliders-x=848
panel_sliders-y=579
panel_sliders-z=576
panel_sliders-z=748
cstm_7551f58c-x=0
cstm_7551f58c-key=103
cstm_7551f58c-keymod=4
@@ -466,22 +466,22 @@ file_dlg-y=630
panel1_show_pathbar-b=1
text_dlg-s=600
text_dlg-x=500
text_dlg-y=439
text_dlg-y=562
text_dlg-z=400
cstm_779468ff-y=
cstm_779468ff-key=118
cstm_779468ff-keymod=67108864
cstm_779468ff-label=GVim
cstm_779468ff-next=cstm_2852ad6c
cstm_779468ff-next=cstm_44b46be8
cstm_779468ff-prev=cstm_46ad647a
cstm_779468ff-line=nvim-konsole -p %F
cstm_779468ff-line=nv -p %F
cstm_779468ff-task_err=1
cstm_779468ff-task_out=1
cstm_779468ff-keep=1
app_dlg-s=500
app_dlg-x=400
app_dlg-y=420
app_dlg-z=468
app_dlg-x=1920
app_dlg-y=1005
app_dlg-z=484
arc_tar_bz2-s=
cstm_46ad647a-y=
cstm_46ad647a-key=88
@@ -690,8 +690,8 @@ panel1_detcol_perm0-b=1
panel1_detcol_owner0-b=1
panel1_detcol_date0-b=1
panel1_slider_positions0-s=292
panel1_slider_positions0-x=275
panel1_slider_positions0-y=261
panel1_slider_positions0-x=351
panel1_slider_positions0-y=233
panel1_show_toolbox1-b=1
panel1_show_devmon1-b=1
panel1_show_book1-b=1
@@ -723,7 +723,7 @@ panel2_detcol_date1-y=100
panel2_detcol_date1-b=1
panel2_slider_positions1-s=0
panel2_slider_positions1-x=0
panel2_slider_positions1-y=0
panel2_slider_positions1-y=384
panel1_show_toolbox2-b=1
panel1_show_devmon2-b=1
panel1_show_book2-b=1
@@ -736,7 +736,7 @@ panel1_detcol_owner2-b=1
panel1_detcol_date2-b=1
panel1_slider_positions2-s=292
panel1_slider_positions2-x=160
panel1_slider_positions2-y=198
panel1_slider_positions2-y=72
panel3_show_toolbox2-b=1
panel3_show_devmon2-b=2
panel3_show_book2-b=2
@@ -755,7 +755,7 @@ panel3_detcol_date2-y=100
panel3_detcol_date2-b=1
panel3_slider_positions2-s=0
panel3_slider_positions2-x=0
panel3_slider_positions2-y=0
panel3_slider_positions2-y=233
panel4_show_toolbox2-b=1
panel4_show_devmon2-b=2
panel4_show_book2-b=2
@@ -802,8 +802,8 @@ panel2_detcol_owner0-b=1
panel2_detcol_date0-y=100
panel2_detcol_date0-b=1
panel2_slider_positions0-s=0
panel2_slider_positions0-x=236
panel2_slider_positions0-y=384
panel2_slider_positions0-x=339
panel2_slider_positions0-y=233
panel2_show_toolbox2-b=1
panel2_show_devmon2-b=1
panel2_show_book2-b=1
@@ -815,8 +815,8 @@ panel2_detcol_perm2-b=1
panel2_detcol_owner2-b=1
panel2_detcol_date2-b=1
panel2_slider_positions2-s=0
panel2_slider_positions2-x=0
panel2_slider_positions2-y=0
panel2_slider_positions2-x=339
panel2_slider_positions2-y=236
panel1_show_toolbox3-b=1
panel1_show_devmon3-b=1
panel1_show_book3-b=1
@@ -870,7 +870,7 @@ panel3_detcol_date0-y=1046
panel3_detcol_date0-b=1
panel3_slider_positions0-s=0
panel3_slider_positions0-x=293
panel3_slider_positions0-y=402
panel3_slider_positions0-y=233
cstm_0c2251bc-y=
cstm_0c2251bc-key=103
cstm_0c2251bc-keymod=67108864
@@ -938,7 +938,7 @@ panel4_detcol_date0-y=100
panel4_detcol_date0-b=1
panel4_slider_positions0-s=0
panel4_slider_positions0-x=203
panel4_slider_positions0-y=325
panel4_slider_positions0-y=233
panel3_show_toolbox3-b=1
panel3_show_devmon3-b=1
panel3_show_book3-b=2
@@ -979,7 +979,7 @@ cstm_1436645d-keep=1
cstm_2852ad6c-y=
cstm_2852ad6c-label=code
cstm_2852ad6c-next=cstm_39c0c564
cstm_2852ad6c-prev=cstm_779468ff
cstm_2852ad6c-prev=cstm_44b46be8
cstm_2852ad6c-line=code
cstm_2852ad6c-task=1
cstm_2852ad6c-task_err=1
@@ -987,6 +987,7 @@ cstm_2852ad6c-task_out=1
cstm_2852ad6c-keep=1
cstm_218bb12f-y=
cstm_218bb12f-label=gnome-terminal
cstm_218bb12f-next=cstm_78d6ed67
cstm_218bb12f-prev=cstm_39c0c564
cstm_218bb12f-line=gnome-terminal
cstm_218bb12f-task=1
@@ -1005,11 +1006,56 @@ cstm_39c0c564-task_err=1
cstm_39c0c564-task_out=1
cstm_39c0c564-keep=1
cstm_570b5ce2-y=
cstm_570b5ce2-key=84
cstm_570b5ce2-keymod=5
cstm_570b5ce2-label=bash-session
cstm_570b5ce2-next=cstm_1436645d
cstm_570b5ce2-prev=cstm_7551f58c
cstm_570b5ce2-line=bash-session -n
cstm_570b5ce2-task_err=1
cstm_570b5ce2-task_out=1
cstm_570b5ce2-keep=1
cstm_3164fd7c-x=3
cstm_3164fd7c-z=/home/harish
cstm_3164fd7c-label=Home
cstm_3164fd7c-next=cstm_5e51738c
cstm_3164fd7c-parent=main_book
cstm_5e51738c-x=3
cstm_5e51738c-z=/home/harish/Downloads
cstm_5e51738c-label=Downloads
cstm_5e51738c-next=cstm_7610ef7d
cstm_5e51738c-prev=cstm_3164fd7c
cstm_7610ef7d-x=3
cstm_7610ef7d-z=/home/harish/Projects
cstm_7610ef7d-label=Projects
cstm_7610ef7d-next=cstm_460a2fe0
cstm_7610ef7d-prev=cstm_5e51738c
cstm_44b46be8-y=
cstm_44b46be8-key=118
cstm_44b46be8-keymod=67108872
cstm_44b46be8-label=Lvim
cstm_44b46be8-icon=nvim
cstm_44b46be8-next=cstm_2852ad6c
cstm_44b46be8-prev=cstm_779468ff
cstm_44b46be8-line=env HISTSIZE=10000 HISTFILE="%d/.bash_history" lvim
cstm_44b46be8-task_err=1
cstm_44b46be8-task_out=1
cstm_44b46be8-keep=1
cstm_78d6ed67-y=
cstm_78d6ed67-key=68
cstm_78d6ed67-keymod=5
cstm_78d6ed67-label=devSetup
cstm_78d6ed67-prev=cstm_218bb12f
cstm_78d6ed67-line=hari-tools.sh devSetup
cstm_78d6ed67-task_err=1
cstm_78d6ed67-task_out=1
cstm_78d6ed67-keep=1
cstm_460a2fe0-x=3
cstm_460a2fe0-z=/home/harish/Documents
cstm_460a2fe0-label=Documents
cstm_460a2fe0-next=cstm_579daf70
cstm_460a2fe0-prev=cstm_7610ef7d
cstm_579daf70-x=3
cstm_579daf70-z=/home/harish/.file-headers
cstm_579daf70-label=.file-headers
cstm_579daf70-prev=cstm_460a2fe0
+2 -2
View File
@@ -132,7 +132,7 @@ output HDMI-A-1 resolution 1920x1080 position 0,0
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+b splith
bindsym $mod+v splitv
# bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
@@ -140,7 +140,7 @@ output HDMI-A-1 resolution 1920x1080 position 0,0
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym F11 fullscreen
bindsym Shift+F11 fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
+15
View File
@@ -0,0 +1,15 @@
/*
* ॐ Om Brahmarppanam ॐ
*
* <%- filename %>
* Created at: <%- date %>
*
* Copyright <%- date.getFullYear() %> <%- user %> <<%- email %>>
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
*/
+12
View File
@@ -0,0 +1,12 @@
import { View, StyleSheet, Text } from 'react-native';
export default function(){
return <View style={css.wrapper}></View> ;
}
const css = StyleSheet.create({
wrapper:{
}
});
+5
View File
@@ -0,0 +1,5 @@
module.exports = {
user: 'Harish Karumuthil',
email: 'harish2704@gmail.com',
date: new Date(),
};
+8
View File
@@ -6,8 +6,16 @@
noconsole = yes
[init]
defaultBranch = main
[alias]
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f"
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[guitool "Pull"]
cmd = git pull
[push]
autoSetupRemote = true
[pull]
rebase = false
+3 -3
View File
@@ -1,4 +1,3 @@
.bash_history
.yarn/*
!.yarn/patches
!.yarn/plugins
@@ -8,5 +7,6 @@
# Swap the comments on the following lines if you don't wish to use zero-installs
# Documentation here: https://yarnpkg.com/features/zero-installs
!.yarn/cache
#.pnp.*
.yarn/cache
.pnp.*
.bash_history
+10
View File
@@ -0,0 +1,10 @@
gtk-enable-animations=1
gtk-primary-button-warps-slider=0
gtk-toolbar-style=3
gtk-menu-images=1
gtk-button-images=1
gtk-cursor-theme-size=24
gtk-cursor-theme-name="breeze_cursors"
gtk-icon-theme-name="breeze"
gtk-font-name="Noto Sans, 11"
+13
View File
@@ -0,0 +1,13 @@
gtk-enable-animations=1
gtk-primary-button-warps-slider=0
gtk-toolbar-style=3
gtk-menu-images=1
gtk-button-images=1
gtk-cursor-theme-size=24
gtk-cursor-theme-name="breeze_cursors"
gtk-icon-theme-name="breeze"
gtk-font-name="Noto Sans, 11"
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
gtk-theme-name="Breeze"
+1 -1
View File
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
/usr/bin/chromium-browser --password-store=kwallet5 "$@"
/usr/bin/chromium-browser --password-store=kwallet5 --force-device-scale-factor=1.25 "$@"
+81
View File
@@ -0,0 +1,81 @@
#!/usr/bin/env python
# ॐ Om Brahmarppanam ॐ
#
# csv-split-by-col.py
# Created at: Sat Jan 28 2023 19:43:44 GMT+0530 (GMT+05:30)
#
# Copyright 2023 Harish Karumuthil <harish2704@gmail.com>
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
#
import os
import argparse
import pandas as pd
import openpyxl
def pathToFilename(filePath):
return os.path.splitext(os.path.basename(filePath))[0]
# Shamelessly copied from https://stackoverflow.com/a/39530676/1677234
def autoWidth(worksheet):
for col in worksheet.columns:
max_length = 0
column = col[0].column_letter # Get the column name
for cell in col:
try: # Necessary to avoid error on empty cells
if len(str(cell.value)) > max_length:
max_length = len(str(cell.value))
except:
pass
adjusted_width = (max_length + 2)
worksheet.column_dimensions[column].width = adjusted_width
def main(df, firstCol, secondCol, outputDir, fileName):
firstColUniq = df[firstCol].unique()
for i in firstColUniq:
subDf = df[ df[firstCol] == i ]
subDf = subDf.drop(firstCol, axis=1)
with pd.ExcelWriter('{0}/{1}_{2}.xlsx'.format(outputDir,fileName,i), engine='openpyxl') as writer:
# with pd.ExcelWriter('{0}/{1}_{2}.xlsx'.format(outputDir,fileName,i), engine='xlsxwriter') as writer: # Does not work with adjusted_width
secondColUniq = subDf[secondCol].unique()
for j in secondColUniq:
sheetDf = subDf[ subDf[secondCol] == j ]
sheetDf = sheetDf.drop(secondCol, axis=1)
sheetName = j[0:20]
sheetDf.insert(0, 'S.No', range(1, 1+len(sheetDf)))
sheet = sheetDf.to_excel(writer, sheet_name=sheetName, index=False)
writer.sheets[sheetName].header = sheetName
# auto_adjust_xlsx_column_width(sheetDf, writer, sheetName)
for _,sheet in writer.sheets.items():
autoWidth(sheet)
sheet.evenHeader.center.text = "&A - Page &[Page] of &N"
sheet.oddHeader.center.text = "&A - Page &[Page] of &N"
parser = argparse.ArgumentParser(
prog = 'Split CSV',
description = 'Split big CSV file to N-files with M-sheets per file by grouping first and second column option',
epilog = 'Text at the bottom of help')
parser.add_argument('filename')
parser.add_argument('-d', '--delimiter', default=',', help="Delimiter (default=',')")
parser.add_argument('-f', '--first-column', help="title of primary column based on which files will be split")
parser.add_argument('-s', '--second-column', help="title of second column based on which each sheets will be created in single file")
parser.add_argument('-o', '--output-dir', help="Output director default( './csvsplit.out')", default='./csvsplit.out')
args = parser.parse_args()
dataFrame = pd.read_csv(args.filename, sep=args.delimiter)
firstColumn = args.first_column or dataFrame.columns[0]
secondColumn = args.second_column or dataFrame.columns[1]
# TODO: mkdir -p
try:
os.mkdir(args.output_dir)
except FileExistsError as e:
pass
main( dataFrame, firstColumn, secondColumn, args.output_dir, pathToFilename(args.filename) )
+145 -2
View File
@@ -12,6 +12,98 @@ list-commands(){
typeset -F | cut -d ' ' -f 3 | grep -v '^_' | sort
}
# start rootless podman socket
podmanStart(){
set -x
systemctl --user enable podman.socket
systemctl --user start podman.socket
systemctl --user status podman.socket
echo export DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock
}
# dockerLinux [imagename=ubuntu:22.40] . Quick shell inside given linux container
dockerLinux(){
set -x
local cid=$(($RANDOM%20))
local name=linux_$cid
local image=${1:-ubuntu:22.04}
docker run -d --name $name $image sh -c "trap : TERM INT; sleep infinity & wait"
docker exec -it $name sh
}
# ts / tsx to js/jsx
tstojs(){
set -x
tsc --jsx preserve -t es2020 --outDir js --noEmit false $@
}
# cmd </long/file/path.ext> Create file by creating all parents
touchp(){
local fname="$1"
local parentDir=$(dirname "$fname")
mkdir -p "$parentDir"
touch "$fname"
}
# cmd <width> <height>. Change waydroid size and restart session
waydroidChangeSize(){
local width=$1
local height=$2
waydroid prop set persist.waydroid.width $width
waydroid prop set persist.waydroid.height $height
waydroid session stop
waydroid session start &
sleep 1
waydroid show-full-ui
}
# Restart pulseaudio
pulseAudioRestart(){
set -x
systemctl --user restart pipewire-pulse
}
# Convert video to mp4 for mobile device. videoformobile <infile> [opts...]
videoformobile(){
local infile=$1;
shift
set -x
ffmpeg -i "$infile" -c:v h264 -pix_fmt yuv420p -level 3.0 $@
}
# allow permission for docker container. dockerAllow <path>
dockerAllow(){
set -x
chcon -R system_u:object_r:container_file_t:s0 "$1"
}
# Start development env in current directory
devSetup(){
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Switch One Desktop to the Right"
lvim &
bash-session -n &
sleep 1.5
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Window Maximize"
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Walk Through Windows"
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Window Maximize"
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Switch One Desktop Down"
git gui &
sleep 1.5
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Window Maximize"
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Switch One Desktop Up"
}
# cd to npm home
npmHome(){
cd ~/.node_modules_mine;
bash-session
}
# cmd <inputfile> .csv to json using miller cli
csvToJson(){
mlr --c2j --jlistwrap cat "$1"
}
# list available fonts for a language.
# Usage: THIS_FN <lang_code>
fonts_for_lang(){
@@ -33,6 +125,11 @@ ocr(){
http-server -o
}
# resize pdf <input> <output>
pdfResize(){
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dDownsampleColorImages=true -dColorImageResolution=94 -dNOPAUSE -dBATCH -sOutputFile="$2" "$1"
}
# Open many ssh sessions in separate tabs in gnome-terminal
sshInTabs(){
logins="$@"
@@ -58,6 +155,7 @@ clearSysRq(){
# Print current public ip using ipify API
myIp(){
set -x
curl 'https://api.ipify.org?format=json'
}
@@ -192,6 +290,23 @@ kwinCompositorReload(){
qdbus-qt5 org.kde.KWin /Compositor resume
}
# Clone git with custom key
# gitclone <url> [ssh_key_path]
gitClone(){
set -x
local url="$1"
shift
local sshkey="$1"
if [[ -n "$sshkey" ]]; then
export GIT_SSH_COMMAND="ssh -i '$sshkey'"
fi
targetDir=$(basename "$url")
targetDir=${targetDir/.git/}
git clone "$url" "$targetDir"
cd "$targetDir"
git config core.sshCommand "$GIT_SSH_COMMAND"
}
# format cookies copied from chrome cookie table
# Usage cat file | formatChromeCookie domain.com
formatChromeCookie(){
@@ -274,18 +389,46 @@ pulseTcpStop(){
pactl unload-module module-native-protocol-tcp
}
#list scsi devices
# list scsi devices
scsiList(){
cat /proc/scsi/scsi
}
#remove scsi device
# remove scsi device
scsiRemoveDevice(){
cat <<EOF
echo "scsi remove-single-device 7 0 0 0" > /proc/scsi/scsi
EOF
}
# Put system into sleep in sway
swaysleep(){
swaylock & systemctl suspend
}
# Start php with xdebug
phpdebugsrv(){
php -S 127.0.0.1:8000 -d xdebug.mode=develop,debug -d xdebug.start_with_request=yes $@
}
# Restart sound system
soundRestart(){
systemctl --user restart pipewire
}
# Run any application with ibus support
ibusRun(){
env GTK_IM_MODULE=ibus QT_IM_MODULE=ibus XMODIFIERS=@im=ibus $@
}
# Refresh font cache
fontCacheRefresh(){
fc-cache -f -v
}
# Setup autocomplete. run eval "$(THIS_FILE setup-autocomplete)"
setup-autocomplete(){
cat<<EOF
+150
View File
@@ -0,0 +1,150 @@
#!/usr/bin/python3
import subprocess
import json
import math
def exec(cmd):
print('exec: ', cmd)
return subprocess.getoutput(cmd)
def getSwayInfo(cmd):
return json.loads(exec("swaymsg -t "+cmd))
class WpManager(object):
""""
* Workspace Manager
"""
def __init__(self,Rows, Cols, monitorCount):
w = 0
workspaces = []
r=0
while r < Rows:
c = 0
while c < Cols:
workspaces.append({
'left': c != 0 and w - 1,
'right': ( ( c + 1 ) != Cols ) and w + 1,
'up': ( r != 0 ) and ( w - Cols ),
'down': ( ( r + 1 ) != Rows ) and w + Cols
})
w=w+1
c=c+1
r=r+1
self.workspaces = workspaces
self.Rows = Rows
self.Cols = Cols
self.monitorCount = monitorCount
""""
* Workspace grid initialisation command generator.
* Currenlty not working because `Workspace` command will not work through `swaymsg`.
* it will work only if we put these commands on config file
"""
def getInitCmd (self):
outputs = [ v['name'] for v in getSwayInfo('get_outputs') if v['active']]
outputCout = len( outputs )
totalWorkspaces = self.Rows * self.Cols
cmd = []
ws=0
while ws < totalWorkspaces:
op = 0
while op < outputCout:
cmd.append("workspace " + str(ws * outputCout + op + 1) + " output "+outputs[op])
op=op+1
ws=ws+1
return ';\n'.join(cmd)
""""
* Return the list of target workspaces.
*
* Given current focused workspace and switching direction. eg: ( 1, down )
* for a 3x3 grid in a dual monitor, it will reutrn [ 7, 8 ].
* for single monitor setup, it will return [ 4 ]
* For three monitor setup, it will return [ 10, 11, 12 ]
*
* @param current - current monitor
* @param direction - direction up|down|right|left
* @returns {Array<Number>} - list of target workspaces
"""
def getWorkspaces (self,current, direction):
monitorCount = self.monitorCount
out = []
targetw = self.workspaces[math.ceil(current / monitorCount) - 1][direction]
if targetw is not False:
targetw = targetw * monitorCount
i = monitorCount
while i != 0:
out.append(targetw + i)
i=i-1
return out
""""
* Get swaymsg command for switching current Workspace to <direction> direction
*
* @param swayWorkspace
* @param direction
* @param isMove
* @returns {String} - swaymsg command
"""
def getCmd (self,swayWorkspace, direction, isMove):
currentWS = swayWorkspace['num']
currentOutput = swayWorkspace['output']
ws = self.getWorkspaces(currentWS, direction)
if not ws:
return
out = ["workspace %d"%v for v in ws ]
if isMove:
tws = ws[currentWS % self.monitorCount]
out.insert(0,"move container to workspace %d"%tws)
out.append("focus output "+currentOutput)
return '; '.join(out)
helpStr = '''
sway-wp-switch
Usage:
sway-wp-switch [ -m ] <up|down|right|left>
Options:
-m move current window to new workspace while switching.
If currently focused windows in output-2, it will be placed in output-two itself without losing focus
'''
def main():
import sys
direction = sys.argv[1]
isMove = False
ROWS = 3
COLS = 3
if direction == '-m':
isMove = True
direction = sys.argv[2]
if direction not in ['up', 'down', 'right', 'left', '-i']:
print(helpStr)
return
outputInfo = getSwayInfo('get_outputs')
outputInfo = [v for v in outputInfo if v['active'] ]
wm = WpManager(ROWS, COLS, len( outputInfo ))
if direction == '-i':
cmd = wm.getInitCmd()
print(cmd)
cmd=''
else:
workspaceInfo = next(v for v in getSwayInfo('get_workspaces') if v[ 'focused' ] )
cmd = wm.getCmd(workspaceInfo, direction, isMove)
if cmd:
exec('swaymsg -t command "%s"'% cmd)
main()
@@ -2,3 +2,5 @@
./bin/hari-tools.sh
./bin/bash-session
./bin/ibus-next-engine.py
./bin/csv-split-by-col.py
./bin/sway-wp-switch
@@ -0,0 +1,15 @@
_complete_hdutils(){
saveIFS=$IFS
IFS=$'\n'
case $COMP_CWORD in
1)
COMPREPLY=( $( compgen -W "$( /home/harish/.local/bin/hari-tools.sh list-commands )" -- "${COMP_WORDS[COMP_CWORD]}") )
;;
*)
COMPREPLY=( $( compgen -o default -- "${COMP_WORDS[COMP_CWORD]}") )
;;
esac
IFS="$saveIFS"
return 0
}
complete -F _complete_hdutils hari-tools.sh
+37
View File
@@ -0,0 +1,37 @@
#!/usr/bin/env bash
# Download following
# 1. https://github.com/cube2222/octosql
# 2. https://github.com/TomWright/dasel
# 3. https://github.com/multiprocessio/dsq
# 4. https://github.com/roapi/roapi
# 5. https://github.com/dcmoura/spyql
Projects=(
https://github.com/cube2222/octosql
https://github.com/TomWright/dasel
https://github.com/multiprocessio/dsq
https://github.com/roapi/roapi
https://github.com/dcmoura/spyql
)
getTarball(){
local projUrl=$1
local githubRepo=$(echo $projUrl | sed 's#https://github.com/##g')
local tarballs=$(curl -s "https://api.github.com/repos/$githubRepo/releases/latest" | grep 'browser_download_url.*gz' | grep -E 'amd64|x86_64' | grep linux | cut -d'"' -f4)
echo $tarballs
}
downloadPkg(){
local projUrl=$1
latestTarball=$(getTarball "$projUrl")
echo wget -c "$latestTarball"
}
main(){
for projUrl in ${Projects[@]} ; do
downloadPkg "$projUrl"
done
}
main
@@ -0,0 +1,5 @@
mkdir -p ~/.local/share/tkthemes
cp -r /usr/share/PySolFC/themes/clearlooks/ ~/.local/share/tkthemes/
echo "export TCLLIBPATH=~/.local/share/tkthemes" >> ~/.bashrc
nv ~/.Xdefaults
@@ -0,0 +1 @@
./html-editor-grapejs.sh
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
THIS_DIR=$(dirname $(readlink -f $0))
cd $THIS_DIR
python -m http.server 8082
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>html editor</title>
<script type="text/javascript" src="https://unpkg.com/grapesjs"></script>
<script
type="text/javascript"
src="https://unpkg.com/grapesjs-blocks-basic"
></script>
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/grapesjs/dist/css/grapes.min.css"
/>
<style type="text/css" media="screen">
body,
html {
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<div id="gjs">
<div class="col col-md-12">
<h2>Welcome</h2>
</div>
</div>
<script type="text/javascript" >
const editor = grapesjs.init({
container: "#gjs",
fromElement: 1,
height: "100%",
storageManager: false,
plugins: ["gjs-blocks-basic"],
avoidInlineStyle: 1,
});
editor.getModel().set("dmode", "absolute");
</script>
</body>
</html>
@@ -0,0 +1,4 @@
@page{
size: A3;
margin: 0mm 0mm 0mm 0mm;
}
@@ -0,0 +1,2 @@
./lvim
./nvim-distro.sh
@@ -0,0 +1,373 @@
--[[
THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT
`lvim` is the global options object
]]
-- vim options
vim.opt.shiftwidth = 2
vim.opt.tabstop = 2
vim.opt.relativenumber = true
vim.opt.list = true
-- general
lvim.log.level = "info"
lvim.format_on_save = {
enabled = true,
pattern = "*.lua",
timeout = 1000,
}
-- to disable icons and use a minimalist setup, uncomment the following
-- lvim.use_icons = false
-- keymappings <https://www.lunarvim.org/docs/configuration/keybindings>
lvim.leader = "space"
-- add your own keymapping
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
lvim.keys.normal_mode['<C-p>'] = ":Telescope find_files<CR>"
-- lvim.keys.normal_mode["<S-l>"] = ":BufferLineCycleNext<CR>"
-- lvim.keys.normal_mode["<S-h>"] = ":BufferLineCyclePrev<CR>"
for i = 1, 9, 1 do
lvim.keys.normal_mode["<M-" .. i .. ">"] = ":BufferLineGoToBuffer " .. i .. "<CR>"
end
-- -- Use which-key to add extra bindings with the leader-key prefix
-- lvim.builtin.which_key.mappings["W"] = { "<cmd>noautocmd w<cr>", "Save without formatting" }
-- lvim.builtin.which_key.mappings["P"] = { "<cmd>Telescope projects<CR>", "Projects" }
-- Disable automatic changing of directory in lunarvim
lvim.builtin.project.active = false
lvim.builtin.project.manual_mode = true
lvim.builtin.project.silent_chdir = false
-- -- Change theme settings
-- lvim.colorscheme = "lunar"
--
lvim.builtin.alpha.active = true
lvim.builtin.alpha.mode = "dashboard"
lvim.builtin.terminal.active = true
lvim.builtin.nvimtree.setup.view.side = "left"
lvim.builtin.nvimtree.setup.renderer.icons.show.git = false
lvim.builtin.terminal.execs = {
{ nil, "<Leader>ts", "Horizontal Terminal", "horizontal", 0.3 },
{ nil, "<Leader>tv", "Vertical Terminal", "vertical", 0.4 },
{ nil, "<Leader>tf", "Float Terminal", "float", nil },
}
lvim.builtin.lualine.sections.lualine_b = { 'branch', '%f' }
-- Automatically install missing parsers when entering buffer
lvim.builtin.treesitter.auto_install = true
lvim.builtin.luasnip = {
sources = {
friendly_snippets = false,
},
}
-- lvim.builtin.treesitter.ignore_install = { "haskell" }
-- -- always installed on startup, useful for parsers without a strict filetype
-- lvim.builtin.treesitter.ensure_installed = { "comment", "markdown_inline", "regex" }
-- -- generic LSP settings <https://www.lunarvim.org/docs/languages#lsp-support>
lvim.lsp.null_ls.setup.timeout_ms = 20000
-- --- disable automatic installation of servers
-- lvim.lsp.installer.setup.automatic_installation = false
-- ---configure a server manually. IMPORTANT: Requires `:LvimCacheReset` to take effect
-- ---see the full default list `:lua =lvim.lsp.automatic_configuration.skipped_servers`
-- vim.list_extend(lvim.lsp.automatic_configuration.skipped_servers, { "pyright" })
-- local opts = {} -- check the lspconfig documentation for a list of all possible options
-- require("lvim.lsp.manager").setup("pyright", opts)
-- ---remove a server from the skipped list, e.g. eslint, or emmet_ls. IMPORTANT: Requires `:LvimCacheReset` to take effect
-- ---`:LvimInfo` lists which server(s) are skipped for the current filetype
-- lvim.lsp.automatic_configuration.skipped_servers = vim.tbl_filter(function(server)
-- return server ~= "emmet_ls"
-- end, lvim.lsp.automatic_configuration.skipped_servers)
-- -- you can set a custom on_attach function that will be used for all the language servers
-- -- See <https://github.com/neovim/nvim-lspconfig#keybindings-and-completion>
-- lvim.lsp.on_attach_callback = function(client, bufnr)
-- local function buf_set_option(...)
-- vim.api.nvim_buf_set_option(bufnr, ...)
-- end
-- --Enable completion triggered by <c-x><c-o>
-- buf_set_option("omnifunc", "v:lua.vim.lsp.omnifunc")
-- end
-- -- linters and formatters <https://www.lunarvim.org/docs/languages#lintingformatting>
-- local formatters = require "lvim.lsp.null-ls.formatters"
-- formatters.setup {
-- {
-- command = "prettier",
-- extra_args = { "--print-width", "100" },
-- filetypes = { "typescript", "typescriptreact", "javascript", "javascriptreact" },
-- },
-- }
-- local linters = require "lvim.lsp.null-ls.linters"
-- linters.setup {
-- { command = "flake8", filetypes = { "python" } },
-- {
-- command = "shellcheck",
-- args = { "--severity", "warning" },
-- },
-- }
-- Flutter snippets enable
local luasnip = require("luasnip")
luasnip.filetype_extend("dart", { "flutter" })
-- -- Additional Plugins <https://www.lunarvim.org/docs/plugins#user-plugins>
-- lvim.plugins = {
-- {
-- "folke/trouble.nvim",
-- cmd = "TroubleToggle",
-- },
-- }
-- -- Autocommands (`:help autocmd`) <https://neovim.io/doc/user/autocmd.html>
-- vim.api.nvim_create_autocmd("FileType", {
-- pattern = "zsh",
-- callback = function()
-- -- let treesitter use bash highlight for zsh files as well
-- require("nvim-treesitter.highlight").attach(0, "bash")
-- end,
-- })
local actions = require("telescope.actions")
lvim.builtin.telescope.pickers.git_files.mappings = {
i = {
['<C-t>'] = actions.smart_send_to_qflist + actions.open_qflist,
}
}
lvim.builtin.telescope.pickers.live_grep.mappings = {
i = {
['<C-t>'] = actions.smart_send_to_qflist + actions.open_qflist,
}
}
lvim.builtin.telescope.pickers.find_files.mappings = {
i = {
['<C-t>'] = actions.smart_send_to_qflist + actions.open_qflist,
}
}
lvim.builtin.telescope.defaults.path_display = { shorten = 2 };
vim.cmd([[
command! -nargs=+ Gr :silent execute 'grep! -nr "<args>" | copen'
" Raw version of Gr command.
command! -nargs=* Grc grep -nr <args>
" Add file header to current buffer. Depends on https://github.com/harish2704/file-header
command! Header :execute "0r!file-header '%'"
" Open Terminal in split window
command! Termw :execute '!konsole -e bash-session &'
command! Term :execute 'sp | term'
command! EditSnippet :execute 'lua require("luasnip.loaders").edit_snippet_files()'
" Cd to current file's directory
command! Cwd :execute 'cd %:p:h'
" Cd to current file's directory, but limit to current tab
command! Tcd :execute ':tcd %:p:h'
" Reload current buffer
command! Reload :execute "bufdo execute 'checktime . bufnr('%')'"
" Delete current file and close buffer
command! Rm :execute '!rm %' | bd
" Copy current file path to unnamedplus register
command! CopyFilename :let @+=@%
" Open vscode in on current line
command! Code :execute "!code ./ -g %:". ( line('.')+1 )
" For Open a terminal in current directory
nmap <Leader><Leader>t :!xdg-terminal&<CR>
" Open git-gui in current pwd
nmap <Leader><Leader>g :!git gui &<CR>
" <Alt-R> -> Reload current file
nmap <M-r> :e!<CR>
" Alt-q Delete current buffer ( Close file )
nmap <M-q> :BufferKill<CR>
" <Ctrl-Shift-q> force Close buffer
nmap <M-Q> :bd!<CR>
" Select a word and press Ctrl-h to replace all its occurance, even if the word is having special chars
vmap <C-h> "fy:%s#<C-r>f#
" Copy current word to 'f' register, search for that word
vmap <C-f> "fy/<C-r>f
" Ctrl-Enter in insert mode will append ';' to the line and insert a new line
imap <C-CR> <ESC>A;
" Alt + Arrows to Moving cursor to different windows {{{
nmap <M-Up> <C-W>k
nmap <M-Down> <C-W>j
nmap <M-Right> <C-W>l
nmap <M-Left> <C-W>h
" }}}
" For terminal mod {{{
tmap <C-PageUp> <C-\><C-n><C-PageUp>
tmap <C-PageDown> <C-\><C-n><C-PageDown>
tmap <M-Up> <C-\><C-n><C-W>k
tmap <M-Down> <C-\><C-n><C-W>j
tmap <M-Right> <C-\><C-n><C-W>l
tmap <M-Left> <C-\><C-n><C-W>h
" }}}
set grepprg=ag\ --nogroup\ --nocolor
nmap <C-/> :Gr <C-R><C-W>
" Ctrl-Shift-T -> Open new tab
nmap <C-S-T> :tabedit<CR>
" Ctrl-S to save file {{{
nmap <C-s> :w<CR>
vmap <C-s> <Esc><c-s>gv
imap <C-s> <Esc><c-s>
nmap <C-PageUp> :BufferLineCyclePrev<CR>
nmap <C-PageDown> :BufferLineCycleNext<CR>
nmap <C-S-PageUp> :BufferLineMovePrev<CR>
nmap <C-S-PageDown> :BufferLineMoveNext<CR>
nmap <C-j> :BufferLineCyclePrev<CR>
nmap <C-k> :BufferLineCycleNext<CR>
nmap <C-S-j> :BufferLineMovePrev<CR>
nmap <C-S-k> :BufferLineMoveNext<CR>
let g:user_emmet_mode='inv'
let g:user_emmet_install_global = 0
autocmd FileType html,css,vue,jsx,php,javascriptreact EmmetInstall
nmap <C-G> :execute 'Telescope live_grep default_text=' . expand('<cword>')<cr>
]])
-- imap <C-E> <plug>(emmet-expand-abbr)
vim.keymap.set('i', '<C-E>', '<plug>(emmet-expand-abbr)')
vim.keymap.set('n', '<F5>', function() require('dap').continue() end)
vim.keymap.set('n', '<F10>', function() require('dap').step_over() end)
vim.keymap.set('n', '<F11>', function() require('dap').step_into() end)
vim.keymap.set('n', '<F12>', function() require('dap').step_out() end)
lvim.builtin.dap.active = true
lvim.builtin.which_key.mappings["l"]["f"] = {
function()
require("lvim.lsp.utils").format { timeout_ms = 20000 }
end,
"Format",
}
local dap = require('dap')
dap.adapters.php = {
type = 'executable',
command = 'node',
args = {
'/home/harish/tmp/nvim-configs/lunarvim/share/nvim/mason/packages/php-debug-adapter/extension/out/phpDebug.js' }
}
dap.configurations.php = {
{
type = 'php',
request = 'launch',
name = 'Listen for Xdebug',
port = 9003
}
}
lvim.plugins = {
{
"gpanders/editorconfig.nvim",
},
{ 'mattn/emmet-vim' },
{
"tpope/vim-fugitive",
cmd = {
"G",
"Git",
"Gdiffsplit",
"Gread",
"Gwrite",
"Ggrep",
"GMove",
"GDelete",
"GBrowse",
"GRemove",
"GRename",
"Glgrep",
"Gedit"
},
ft = { "fugitive" }
},
{
"iamcco/markdown-preview.nvim",
build = "cd app && npm install",
ft = "markdown",
config = function()
vim.g.mkdp_auto_start = 1
end,
},
{
"turbio/bracey.vim",
cmd = { "Bracey", "BracyStop", "BraceyReload", "BraceyEval" },
build = "npm install --prefix server",
lazy = true,
},
{
"jamessan/vim-gnupg",
-- lazy = true,
},
{
"honza/vim-snippets",
lazy = true,
event = "InsertEnter",
config = function()
-- TODO: Implement - custom snippets should go to user's directory. See below
-- https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#edit_snippets
require("luasnip.loaders.from_snipmate").lazy_load {
paths = get_runtime_dir() .. "/site/pack/lazy/opt/vim-snippets/snippets"
}
end,
dependencies = {
"LuaSnip",
},
},
{
"godlygeek/tabular"
},
{ "chrisbra/NrrwRgn" },
{
"kylechui/nvim-surround",
config = function()
require("nvim-surround").setup({
-- Configuration here, or leave empty to use defaults
})
end
},
{
'rmagatti/auto-session',
-- cmd = { 'SaveSession', 'RestoreSession', 'RestoreSessionFromFile', 'DeleteSession', 'Autosession', },
config = function()
require("auto-session").setup {
log_level = "error",
auto_session_create_enabled = false,
}
end
}
}
@@ -0,0 +1,54 @@
{
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
"LuaSnip": { "branch": "master", "commit": "0df29db3543837f8b41597f2640397c5ec792b7b" },
"NrrwRgn": { "branch": "master", "commit": "e027db9d94f94947153cd7b5ac9abd04371ab2b0" },
"alpha-nvim": { "branch": "main", "commit": "234822140b265ec4ba3203e3e0be0e0bb826dff5" },
"auto-session": { "branch": "main", "commit": "3eb26b949e1b90798e84926848551046e2eb0721" },
"bigfile.nvim": { "branch": "main", "commit": "9616b73670ffeb92679677554ded88854ae42cf8" },
"bracey.vim": { "branch": "master", "commit": "4e1a22acc01787814819df1057d039d4ecf357eb" },
"bufferline.nvim": { "branch": "main", "commit": "357cc8f8eeb64702e6fcf2995e3b9becee99a5d3" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"editorconfig.nvim": { "branch": "master", "commit": "5b9e303e1d6f7abfe616ce4cc8d3fffc554790bf" },
"emmet-vim": { "branch": "master", "commit": "def5d57a1ae5afb1b96ebe83c4652d1c03640f4d" },
"gitsigns.nvim": { "branch": "main", "commit": "ff01d34daaed72f271a8ffa088a7e839a60c640f" },
"indent-blankline.nvim": { "branch": "master", "commit": "9637670896b68805430e2f72cf5d16be5b97a22a" },
"lazy.nvim": { "branch": "main", "commit": "f73986546cadecbcc0531c14b73d4e2cd679d672" },
"lir.nvim": { "branch": "master", "commit": "969e95bd07ec315b5efc53af69c881278c2b74fa" },
"lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" },
"lunar.nvim": { "branch": "master", "commit": "08bbc93b96ad698d22fc2aa01805786bcedc34b9" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "e7b64c11035aa924f87385b72145e0ccf68a7e0a" },
"mason.nvim": { "branch": "main", "commit": "cd7835b15f5a4204fc37e0aa739347472121a54c" },
"neodev.nvim": { "branch": "main", "commit": "24b403eabde652904077f84fd55441744e77a109" },
"nlsp-settings.nvim": { "branch": "main", "commit": "2a52e793d4f293c0e1d61ee5794e3ff62bfbbb5d" },
"none-ls.nvim": { "branch": "main", "commit": "b8fd44ee1616e6a9c995ed5f94ad9f1721d303ef" },
"nvim-autopairs": { "branch": "master", "commit": "f6c71641f6f183427a651c0ce4ba3fb89404fa9e" },
"nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" },
"nvim-dap": { "branch": "master", "commit": "92dc531eea2c9a3ef504a5c8ac0decd1fa59a6a3" },
"nvim-dap-ui": { "branch": "master", "commit": "34160a7ce6072ef332f350ae1d4a6a501daf0159" },
"nvim-lspconfig": { "branch": "master", "commit": "e49b1e90c1781ce372013de3fa93a91ea29fc34a" },
"nvim-navic": { "branch": "master", "commit": "0ffa7ffe6588f3417e680439872f5049e38a24db" },
"nvim-surround": { "branch": "main", "commit": "0855a89e00a5822c3a482a82e5223fcf2e9ede13" },
"nvim-tree.lua": { "branch": "master", "commit": "40b9b887d090d5da89a84689b4ca0304a9649f62" },
"nvim-treesitter": { "branch": "master", "commit": "9c4fc86b67c1d68141cef57846d24cbee9b74fb0" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "92e688f013c69f90c9bbd596019ec10235bc51de" },
"nvim-web-devicons": { "branch": "master", "commit": "3af745113ea537f58c4b1573b64a429fefad9e07" },
"onedarker.nvim": { "branch": "freeze", "commit": "b00dd2189f264c5aeb4cf04c59439655ecd573ec" },
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
"schemastore.nvim": { "branch": "main", "commit": "f714bc7c4c94972a7d2d05a198e50370f0b5f026" },
"structlog.nvim": { "branch": "main", "commit": "45b26a2b1036bb93c0e83f4225e85ab3cee8f476" },
"tabular": { "branch": "master", "commit": "339091ac4dd1f17e225fe7d57b48aff55f99b23a" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
"telescope.nvim": { "branch": "0.1.x", "commit": "7011eaae0ac1afe036e30c95cf80200b8dc3f21a" },
"toggleterm.nvim": { "branch": "main", "commit": "c80844fd52ba76f48fabf83e2b9f9b93273f418d" },
"tokyonight.nvim": { "branch": "main", "commit": "633039585dff7fd2b9b62fb190bf768702609d95" },
"vim-fugitive": { "branch": "master", "commit": "46eaf8918b347906789df296143117774e827616" },
"vim-gnupg": { "branch": "main", "commit": "f9b608f29003dfde6450931dc0f495a912973a88" },
"vim-illuminate": { "branch": "master", "commit": "3bd2ab64b5d63b29e05691e624927e5ebbf0fb86" },
"vim-snippets": { "branch": "master", "commit": "b039190177d97a968d80518470910aae7faf182a" },
"which-key.nvim": { "branch": "main", "commit": "6962dae3565369363b59dd51fb206051555fcb4d" }
}

Some files were not shown because too many files have changed in this diff Show More