Install kakoune, new bash_alias

This commit is contained in:
Karol Krzosa
2026-06-18 08:41:00 +02:00
parent a67e7b0aa1
commit c4a251ce09
4 changed files with 28 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
alias ls='ls -lahtr'
alias vi='vim'
alias vi='kak'
alias df='/usr/bin/git --git-dir=$HOME/.dotfilesrepo/ --work-tree=$HOME'
alias unpack='dtrx'

11
.config/kak/kakrc Normal file
View File

@@ -0,0 +1,11 @@
colorscheme gruvbox-dark
# Use 4 spaces for indentation.
# indentwidth controls Kakoune's indentation commands; tabstop controls display width.
set-option global tabstop 4
set-option global indentwidth 4
# Kakoune does not have a Vim-style 'expandtab' option. Make a literal Tab key
# insert four spaces instead of a tab character while in insert mode.
map global insert <tab> '<space><space><space><space>'

View File

@@ -1,14 +1,14 @@
# TODO:
# - [x] Mount /krk-pc on startup
# - [x] Add server SSH keys and PC ssh keys
# - [ ] Mount /proton on startup
# - [x] Hibernate if not using PC for 10 minutes
#
# - [ ] Mount /lenovo-laptop
# - [ ] Mount server /server-vps
# - [x] Mount /lenovo-laptop
# - [x] Mount server /server-vps
#
# - [ ] Combine apps + bin + bookmarks
# - [ ] Use .desktop file name instead of "Name" parameter
# - [x] Combine apps + bin + bookmarks
# - [x] Use .desktop file name instead of "Name" parameter
# - [ ] Firefox bookmarks
# - [x] everything relevant wmenu browser (programs and scripts without arguments, bookmarks, files)
# - [x] plocate + wmenu > xdg-open
# - [x] applications + bin folder
@@ -31,7 +31,7 @@
# exit # exit user to reload config
## Basic utilities
# sudo apt install -y clang cmake build-essential make tcc vim ripgrep curl git man-db plocate tmux zip unzip fzf
# sudo apt install -y clang cmake build-essential make tcc vim ripgrep curl git man-db plocate tmux fzf dtrx
# sudo updatedb
## Update grub to not wait on bootloader screen @todo: automate

View File

@@ -9,3 +9,12 @@ ln -sf $SRC/bin $HOME/bin
mkdir -p $HOME/.local/share/fonts
cp $SRC/.local/share/fonts/* $HOME/.local/share/fonts/.
# Install kakoune
wget https://github.com/mawww/kakoune/releases/download/v2026.05.21/kakoune-v2026.05.21-linux.tar.bz2
unpack kakoune-v2026.05.21-linux.tar.bz2
cd kakoune-v2026.05.21-linux
sudo cp -r bin/* /usr/local/bin/
sudo cp -r libexec/* /usr/local/libexec/
sudo cp -r share/* /usr/local/share/
cd ..