dot

packages and services management
Log | Files | Refs | README

commit 03e913799538d4b815223ca0a17553164a9220d8
parent e0bad7a33f37b4bc291dfcfb0494bbf1dda7f17f
Author: sshbio <jd@ssh.bio>
Date:   Fri, 19 Aug 2016 16:41:16 +0200

Added a few more of a few things

Diffstat:
Mbin/run | 2+-
Actags/build.sh | 3+++
Mdoc/todo | 1+
Mex-vi/build.sh | 1+
Mshell/.profile | 18+++++++++---------
Mvim/.vimrc | 2+-
6 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/bin/run b/bin/run @@ -38,7 +38,7 @@ ping ) opt='-c 3 www.wikipedia.org' ;; feeds ) opt='read' ;; htop | s-nail | irc | rirc | agenda | cmus ) : ;; vi | vim | vis | less ) - opt="$(find ./ -type f | vis-menu -l 10)" file="$opt" + opt="$(find ./ -type f ! -path '*/.git/*' | vis-menu -l 10)" file="$opt" ;; * ) read opt diff --git a/ctags/build.sh b/ctags/build.sh @@ -0,0 +1,3 @@ +# A maintained ctags implementation + +tar=https://github.com/universal-ctags/ctags/archive/master.tar.gz diff --git a/doc/todo b/doc/todo @@ -9,3 +9,4 @@ vis: auto-insert templates while creating new files vis-menu integration with the shell, with more while command goes above the bottom of the screen. vis-menu and completion: on CTRL + N, start vis-menu right under the cursor. vis: 0, $ and ^ to work even on empty lines +irc: ASCII mail pizza delivering irc server diff --git a/ex-vi/build.sh b/ex-vi/build.sh @@ -4,6 +4,7 @@ tar=http://prdownloads.sourceforge.net/ex-vi/ex-050325.tar.bz2 build() { + sed -ri 's/^(#define *TUBECOLS *) [0-9]+/\1 400/' config.h make cp ex ../bin/ex-vi } diff --git a/shell/.profile b/shell/.profile @@ -9,7 +9,7 @@ export EMAIL='jd@ssh.bio' -# Terminal +# TERMINAL export LS_COLORS='so=35:tw=91:ow=93' export NCURSES_NO_UTF8_ACS=1 # Fix for dvtm + abduco in TTY @@ -25,9 +25,9 @@ export TERMCAP="vt102|$TERM|dec vt102:"'\ :mi:al=\E[L:dc=\E[P:dl=\E[M:ei=\E[4l:im=\E[4h:' # For ex-vi to work -# Commands +# COMMANDS -for editor in vi vim vis +for editor in vi vim ex-vi vis do command -v "$editor" > /dev/null && export EDITOR="$editor" done export ALTERNATE_EDITOR='vi' @@ -39,7 +39,7 @@ export BROWSER='retawq' export FILTER='peax' -# Directories +# DIRECTORIES export DOT="$HOME/Config" export MAIL="$HOME/Mail/INBOX" @@ -52,13 +52,13 @@ export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" -# Prompts +# PROMPTS export PS1='$(ps1)' export PS2='| ' -# Alias +# ALIAS #------------------------------------------------------------------------------- alias l='ls -F --color' @@ -74,7 +74,7 @@ alias r='run' alias v="run $VISUAL" -# Functions +# FUNCTIONS #------------------------------------------------------------------------------- ps1() @@ -107,7 +107,7 @@ ps1() x() { - find "${1-.}" -type f | vis-menu -l 10 + find "${1-.}" -type f ! -path '*/.git/*' | vis-menu -l 10 } light() @@ -172,7 +172,7 @@ fbv() # FrameBuffer Video player based on ffplay } -# TTY setup +# TTY SETUP #------------------------------------------------------------------------------- solarized_light="\ diff --git a/vim/.vimrc b/vim/.vimrc @@ -13,7 +13,7 @@ set nocompatible " Appearance colorscheme default -set list listchars=tab:\|\ ,trail:_,extends:>,precedes:<,nbsp:_ +set list listchars=tab:\:\ ,trail:_,extends:>,precedes:<,nbsp:_ set fillchars=vert:\|,fold:- " Interface