Compare commits

..

32 commits

Author SHA1 Message Date
7581fb0fb1 Makefile: add fzf 2026-05-29 10:24:08 +02:00
2464ddc6ff Makefile: cleanup defaults 2026-05-29 10:19:26 +02:00
51166fd433 Makefile: remove lxappearance 2026-05-29 09:36:29 +02:00
8a3214050b nvim: remove xkb-switch 2026-05-29 09:22:25 +02:00
1d0d9bac8a Makefile: remove xkb-switch 2026-05-29 09:21:56 +02:00
d1e48bc140 Update README.md 2026-05-29 08:50:00 +02:00
ea0e0c7bff zsh: add zsh-autosuggestions as submodule 2026-05-29 07:31:08 +02:00
71912199d6 Delete installPackages.sh 2026-05-29 07:25:26 +02:00
d3909ab5c4 Delete apply.sh 2026-05-29 07:12:04 +02:00
c6fdaea4d0 i3: move config to .config 2026-05-29 07:09:56 +02:00
1d9c02f628 i3: delete accidental config 2026-05-29 07:09:25 +02:00
5f37750c51 nvim: use default lockfile path 2026-05-29 07:05:52 +02:00
b0715de1e9 nvim: move to .config 2026-05-29 07:02:56 +02:00
79580899fd i3: move config to .config 2026-05-29 07:02:21 +02:00
c248f2bbb3 Update README.md 2026-05-29 06:59:59 +02:00
c91528ec07 Makefile: init 2026-05-29 06:58:49 +02:00
d043b7f208 Update README.md 2026-05-29 05:34:13 +02:00
87406749cc firefox: shuffle the files 2026-05-29 05:26:34 +02:00
90b0906311 profanity: create profrc 2026-05-29 05:18:59 +02:00
b2796d7204 profanity: move to .config 2026-05-29 05:16:52 +02:00
a7a20ba68d rofi: move to .config 2026-05-29 05:08:35 +02:00
db56eee78c ranger: move to .config 2026-05-29 05:05:54 +02:00
e4a8418aab polybar: move to .config 2026-05-29 05:04:42 +02:00
fb2f263bf4 i3: .desktop no more 2026-05-29 05:00:47 +02:00
02de8b7afa dunst: move to .config 2026-05-29 05:00:10 +02:00
619cceb523 kitty: move to .config 2026-05-29 04:49:46 +02:00
41bd4ea7e5 oomox: obsolete 2026-05-29 04:35:34 +02:00
f64ff2f80f zsh: move .zshrc to home 2026-05-29 04:31:47 +02:00
36b8d97d55 vim: move to home 2026-05-29 04:31:13 +02:00
ad00cafe9d lynx: move to home 2026-05-29 04:30:52 +02:00
34354124b3 Xresources: move to home 2026-05-29 04:30:05 +02:00
38a47ed8c5 home: add .gitconfig 2026-05-29 04:27:31 +02:00
3 changed files with 45 additions and 40 deletions

View file

@ -68,7 +68,7 @@ install_i3: install_base install_gui
remove_default_configs:
rm -f ~/.zshrc
rm -fr ~/.config/i3/
rm -f ~/.config/i3/config
apply_configs: remove_default_configs
stow -Rvt ~ home

View file

@ -184,8 +184,9 @@ vim.keymap.set('n', '<leader>l', '<C-i>', { desc = 'Forward' })
-- Copy'n'Paste
vim.keymap.set('v', '<leader>y', '"+y', { desc = 'Cop[y] selection to system clipboard' })
vim.keymap.set('n', '<leader>y', function()
vim.fn.setreg('+', vim.fn.getreg('"'))
print('Copied to system clipboard')
local text = vim.fn.getreg '"'
vim.fn.system('xclip -i -selection clipboard', text)
print 'Copied to system clipboard'
end, {
silent = true,
desc = 'Copy last [y]anked or deleted text to system clipboard',
@ -351,7 +352,6 @@ require('lazy').setup({
.. ' --line-number'
.. ' --max-columns=512'
.. ' --smart-case'
.. ' --hidden'
.. ' --vimgrep',
file_ignore_patterns = {
'^node_modules/',

View file

@ -1,3 +1,29 @@
""" Common
set encoding=utf-8
set nocompatible
set mouse=a
set scrolloff=0
set number
set fillchars=eob:\ " No more ~
set nowrap
set autoindent
set expandtab
set smarttab
set tabstop=2
set shiftwidth=2
let mapleader = ' '
set ttimeoutlen=10
nnoremap <SPACE> <Nop>
nnoremap <Esc> :nohl<CR>
filetype plugin indent on
""" Plugins
" :PlugInstall
if empty(glob('~/.vim/autoload/plug.vim'))
@ -10,26 +36,8 @@
Plug 'widatama/vim-phoenix'
call plug#end()
""" Common
set mouse=a
set nowrap
set autoindent
set expandtab
set tabstop=2
set shiftwidth=2
filetype plugin indent on
let mapleader = ' '
nnoremap <SPACE> <Nop>
nnoremap <silent> <Esc> :nohlsearch<CR>
""" Appearance
set number
set fillchars=eob:\ "
colorscheme phoenix
PhoenixOrange
@ -41,38 +49,35 @@
""" Statusline
hi StatusLine ctermbg=none ctermfg=white cterm=bold
set noshowmode
set laststatus=2
hi StatusLine ctermbg=none ctermfg=white cterm=bold
hi StatusLineDim ctermbg=none ctermfg=gray cterm=bold
set statusline=
set statusline+=%#StatusLine#
set statusline+=[%{mode()}]
set statusline+=%{mode()}
set statusline+=\ " Space
set statusline+=%#LineNr#
set statusline+=%y
set statusline+=%#StatusLine#
set statusline+=\ %f
set statusline+=\ %m
set statusline+=%=
set statusline+=%#StatusLineDim#
set statusline+=%#LineNr#
set statusline+=%{&fileformat}
set statusline+=\ %{&fileencoding?&fileencoding:&encoding}
set statusline+=\ %{&fileformat}
set statusline+=\ %y
set statusline+=%#StatusLine#
set statusline+=\ %p%%
set statusline+=\ %l:%c
set statusline+=\ %p%%
""" Copy'n'paste
function! PushToClipboard()
if !empty($WAYLAND_DISPLAY)
call system('wl-copy', @")
else
call system('xclip -i -selection clipboard', @")
endif
endfunction
nnoremap <silent><leader>y :call PushToClipboard()<CR>
vnoremap <silent><leader>y y:call PushToClipboard()<CR>
nnoremap <silent><leader>y :call system('xclip -i -selection clipboard', @@)<cr>
vnoremap <silent><leader>y y:call system('xclip -i -selection clipboard', @@)<cr>