diff options
| -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 +} |
