diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2022-09-10 21:44:15 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2022-09-10 21:44:15 +0200 |
| commit | 586686261a1e69a3c65e8bc9a665ef2c68bff26d (patch) | |
| tree | d8e537c74a63613e96d0cacb7208997e643aa869 /config | |
| parent | fb8fda54d11a419494d7c809accb0321cd663497 (diff) | |
| parent | 0eb15e0d59f6e416a9923871e4a75af56232efaf (diff) | |
| download | dotfiles-586686261a1e69a3c65e8bc9a665ef2c68bff26d.tar.gz dotfiles-586686261a1e69a3c65e8bc9a665ef2c68bff26d.tar.bz2 dotfiles-586686261a1e69a3c65e8bc9a665ef2c68bff26d.zip | |
Merge branch 'master' of github.com:cacharle/dotfiles
Diffstat (limited to 'config')
| -rw-r--r-- | config/nvim/lua/mappings.lua | 1 | ||||
| -rw-r--r-- | config/zsh/.zshrc | 8 | ||||
| -rw-r--r-- | config/zsh/aliases.zsh | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/config/nvim/lua/mappings.lua b/config/nvim/lua/mappings.lua index 5373a4e..9b1f638 100644 --- a/config/nvim/lua/mappings.lua +++ b/config/nvim/lua/mappings.lua @@ -10,7 +10,6 @@ map('n', '<leader>ss', '<cmd>setlocal spell!<cr>', {}) -- toggle spelling check map('n', '<leader>]', '<C-]>', {}) -- toggle spelling check map('n', '<leader>t', '<C-t>', {}) -- toggle spelling check - -- split navigation map('n', '<C-j>', '<C-w><C-j>', {}) map('n', '<C-k>', '<C-w><C-k>', {}) diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index dbaaa90..a1211cd 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -107,7 +107,9 @@ export YSU_MESSAGE_POSITION="after" # you-should if [ "$(uname)" = 'Linux' ] then . /usr/share/doc/pkgfile/command-not-found.zsh + if [ -d /opt/ros2/galactic ] + then + export ROS_DOMAIN_ID=42 + . /opt/ros2/galactic/setup.zsh + fi fi - -export ROS_DOMAIN_ID=42 -. /opt/ros2/galactic/setup.zsh diff --git a/config/zsh/aliases.zsh b/config/zsh/aliases.zsh index a288c7f..d386ac6 100644 --- a/config/zsh/aliases.zsh +++ b/config/zsh/aliases.zsh @@ -173,3 +173,7 @@ sdcv() { } alias ffmpeg='ffmpeg -hide_banner' + +sshvi() { + ssh -t "$1" bash -o vi -i +} |
