Compare commits

...

10 commits

Author SHA1 Message Date
Rodolphe Bréard
5df2c14626 Add the default application for the asf format 2023-09-01 10:29:41 +02:00
Rodolphe Bréard
1a18981102 Export the default terminal 2023-09-01 08:33:00 +02:00
Rodolphe Bréard
3162600d07 Update my email address 2023-08-25 14:56:52 +02:00
Rodolphe Bréard
98aa1263bc Use tabs for Vue.js 2023-07-30 12:42:53 +02:00
Rodolphe Bréard
bb144718c6 Use tabs for JavaScript 2023-07-26 20:34:51 +02:00
Rodolphe Bréard
9d74eb8451 Add the vim-vue-plugin 2023-07-26 20:34:19 +02:00
Rodolphe Bréard
2bac6c7df4 Move the indentation preferences from ftplugin to indent 2023-06-06 19:36:38 +02:00
Rodolphe Bréard
450a044517 Disable conceal in vim 2023-06-04 14:21:52 +02:00
Rodolphe Bréard
5bd907b437 Remove the vim-dnsserial plugin 2023-06-04 14:04:55 +02:00
Rodolphe Bréard
20344237fd Replace Vundle by vim-plug 2023-06-04 14:01:50 +02:00
17 changed files with 23 additions and 47 deletions

View file

@ -22,6 +22,7 @@ video/quicktime=mpv.desktop;vlc.desktop
video/webm=mpv.desktop;vlc.desktop
video/x-flv=mpv.desktop;vlc.desktop
video/x-matroska=mpv.desktop;vlc.desktop
video/x-ms-asf=mpv.desktop;vlc.desktop
video/x-msvideo=mpv.desktop;vlc.desktop
application/x-extension-htm=firefox.desktop

View file

@ -2,7 +2,5 @@
[ ! -d "$HISTFILE_DIR" ] && mkdir -p "$HISTFILE_DIR"
[ ! -d "$COMPDIR" ] && mkdir -p "$COMPDIR"
# transmission
if hash transmission-daemon 2>/dev/null; then
transmission-daemon
fi
hash transmission-daemon 2>/dev/null && transmission-daemon
hash kitty 2>/dev/null && export TERMINAL="kitty"

View file

@ -1,6 +1,6 @@
[user]
name = Rodolphe Bréard
email = rodolphe@what.tf
email = v.code.ngyvz7vf@what.tf
SigningKey = B229CCD5690091E7D5D6189F09BC23A1D5562635
[core]

3
.gitignore vendored
View file

@ -9,8 +9,7 @@ __pycache__/
*$py.class
# Vim
.vim/bundle/*
!.vim/bundle/Vundle.vim
.vim/plugged/*
.vim/.netrwhist
*.swp

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule ".vim/bundle/Vundle.vim"]
path = .vim/bundle/Vundle.vim
url = https://github.com/VundleVim/Vundle.vim.git

@ -1 +0,0 @@
Subproject commit b255382d6242d7ea3877bf059d2934125e0c4d95

1
.vim/indent/sql.vim Normal file
View file

@ -0,0 +1 @@
set expandtab&

1
.vim/indent/vue.vim Normal file
View file

@ -0,0 +1 @@
set expandtab&

31
.vimrc
View file

@ -1,25 +1,19 @@
set nocompatible
filetype off
" Install Vundle:
" $ git clone https://github.com/VundleVim/Vundle.vim.git \
" ~/.vim/bundle/Vundle.vim
"
" Install all plugins:
" $ vim +PluginInstall +qall
" $ vim +PlugInstall
set rtp+=~/.vim/bundle/Vundle.vim " Set the runtime path to include Vundle and initialize.
call vundle#begin()
Plugin 'VundleVim/Vundle.vim' " Let Vundle manage Vundle, required.
Plugin 'bling/vim-airline' " Lean & mean status/tabline for vim that's light as air.
Plugin 'antoyo/vim-licenses' " Vim Plugin that Provides Commands to Add Licenses at the Top of the Buffer.
Plugin 'breard-r/vim-dnsserial' " Another DNS-zone serial number updater.
Plugin 'sjl/badwolf' " A Vim color scheme.
Plugin 'rust-lang/rust.vim' " Vim configuration for Rust.
Plugin 'cespare/vim-toml' " Vim syntax for TOML.
Plugin 'editorconfig/editorconfig-vim' " EditorConfig plugin
Plugin 'Yggdroot/indentLine' " Display thin vertical lines at each indentation level
call vundle#end()
call plug#begin('~/.vim/plugged')
Plug 'bling/vim-airline' " Lean & mean status/tabline for vim that's light as air.
Plug 'antoyo/vim-licenses' " Vim Plugin that Provides Commands to Add Licenses at the Top of the Buffer.
Plug 'sjl/badwolf' " A Vim color scheme.
Plug 'rust-lang/rust.vim' " Vim configuration for Rust.
Plug 'cespare/vim-toml' " Vim syntax for TOML.
Plug 'editorconfig/editorconfig-vim' " EditorConfig plugin
Plug 'Yggdroot/indentLine' " Display thin vertical lines at each indentation level
Plug 'leafOfTree/vim-vue-plugin' " Vim syntax and indent plugin for .vue files.
call plug#end()
syntax on " Enable syntax highlighting.
@ -73,8 +67,9 @@ let g:licenses_default_commands = ['affero', 'apache', 'bsd3', 'cecill', 'gfdl',
:augroup END
" Vertical indentation lines
" indentLine
let g:indentLine_char = '⦙'
let g:indentLine_setConceal = 0
" Tera templates

View file

@ -30,7 +30,7 @@ pacman -S dosfstools mtools
``` sh
# Base utils
yay -S liquidprompt
yay -S liquidprompt vim-plug
# Printer
yay -S brother-dcp1610w brscan-skey brscan4
# Graphical software
@ -39,25 +39,10 @@ yay -S cardpeek
## vim
Plugins are managed by Vundle, which is a git submodule. After cloning the `dotfiles` repository, you have to initialize the submodule and install all plugins.
Plugins are managed by `vim-plug`, which is installed from the AUR.
``` sh
cd dotfiles/
git submodule init
git submodule update
vim +PluginInstall +qall
```
Plugins can be updated with `vim +PluginUpdate +qall`.
Updating the Vundle submodule:
``` sh
cd .vim/bundle/Vundle.vim
git checkout master
git pull
cd -
git commit -m 'Update Vundle'
vim +PlugInstall
```