summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bashrc17
-rw-r--r--script192
-rw-r--r--vimrc9
3 files changed, 10 insertions, 208 deletions
diff --git a/.bashrc b/.bashrc
index dafeff4..4e88931 100644
--- a/.bashrc
+++ b/.bashrc
@@ -58,7 +58,7 @@ fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\hh\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
- # Blue timestamp and italic green pwd and reset/normal prompt ($)
+ # Blue timestamp and italic green pwd
PS1='\[\033[34m\]|\D{%H:%M:%S}| \[\033[3;32m\][\w]\[\033[00m\]\n\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
@@ -79,7 +79,7 @@ if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
alias dir='dir --color=auto'
-# alias vdir='vdir --color=auto'
+ #alias vdir='vdir --color=auto'
alias grep='grep --color=auto -i'
#alias fgrep='fgrep --color=auto'
@@ -90,9 +90,9 @@ fi
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# some more ls aliases
-alias ll='ls -l -h'
-alias lla='ll -A'
-alias la='ls -A'
+#alias ll='ls -l -h'
+#alias lla='ll -A'
+#alias la='ls -A'
#alias l='ls -CF'
# Alias definitions.
@@ -114,10 +114,3 @@ if ! shopt -oq posix; then
. /etc/bash_completion
fi
fi
-
-
-# mitsuo's stuff
-# locale environmental variables, stupid sublime error when using
-# non US locale.
-export LANG=en_US.UTF-8
-export LC_CTYPE=en_US.UTF-8
diff --git a/script b/script
deleted file mode 100644
index 445626c..0000000
--- a/script
+++ /dev/null
@@ -1,192 +0,0 @@
-# TODO make this an actual script, for now it only contain the settings I have
-# to adjust manually. And the paths to where the config files in this
-# repository should be located.
-
-# Config files symbolic links paths (aka soft links, these link the paths; hard
-# links link the inode)
-
-makedir ~/.vim/
-
-ln -s .bash_aliases ~/.bash_aliases
-ln -s .bashrc ~/.bashrc
-ln -s .inputrc # allow Vim mode in bash
-ln -s vimrc ~/.vim/vimrc
-
-# KDE Plasma
-
-## System Configuration
-
-Appearance:
- Workspace Theme:
- L&F: Breeze Dark
- DT: Sweet
- Cursor Theme: Breeze
- Colors: Breeze
- Fonts:
- Fixed width: SF Mono 10
- Icons: Breeze Dark
- Application Style:
- Widget style: QtCurve
- settings file: qtcurvesettings.qtcurve
- Window Decoration: Breeze
-Workspace:
- Desktop Behaviour:
- Workspace: Double-click to open files and folders
- Screen Edges: No.
- Screen Locking:
- No automatick screen lock.
- Wallpaper: spongebob little cockroach eating krabbypatty, Scaled.
- Virtual Desktops: 2, 1 row.
- Activities: Default and Leisure
- Window Management:
- Window Behaviour:
- Titlebar Action:
- Wheel event: Keep Above/Below # TODO make it only toggle
- # between keep above
- Task Switcher:
- Visualization: MediumRounded
- KWin Scripts:
- Enforces Window Decoration on GTK+ window
- MinimizeAll (Meta+D)
- Shortcuts:
- Global:
- Launch Dolphin Meta+E
- Launch Firefox Meta+W
- Launch GoldenDict Meta+G
- Launch KCalc Meta+C
- Launch Konsole Meta+<CR>
- Launch Thunderbird Meta+M
-
- Take Active Win SS Meta+Print
- Take Full SS Shift+Print
- Take Rect. Reg. SS Meta+Shift+Print
-
- Run command Alt+Space
- Web: (shortcut:"search string" in Run command)
- Amazon amz
- RAE rae
- Github gh
- Gitlab gt
- Google gg
- Google Maps ggm
- MetaCrawler mc
- Python Ref py
- Qt4 Doc qt4
- Vimeo vm
- Wikia wikia
- Wikipedia wp
- Youtube yt
- Startup and Shutdown:
- Login Screen:
- Theme: Debian Maui
- Wallpaper: Black Pearl Nandita
- Autostart: dropboxd # I think this one is configured
- # automatically
-Personalization:
- Regional Setings:
- Language: en_US
- Formats: en_CA
- Applications:
- Default Applications:
- Email Thunder
- File Manager Dolphin
- Terminal Emu Konsole
- Web Browser Firefox
- File Associations:
- Text Vim
- Image feh
- Video mpv
- Audio mpv
- pdf zathura
- Location for Personal Files:
- Movies: /home/mitsuo/media/Videos
- Pictures: /home/mitsuo/media/Pictures
- Music: /home/mitsuo/media/Music
-Network:
- Bluetooth:
- Disable
-Hardware:
- Input Devices:
- Keyboard:
- NumLock on Plasma Startup: Turn on
- Show layout indicator
- Make Caps Lock an additional Esc
- Switch to another layout with Win+Space
- Mouse Controls:
- Pointer speed: 4.5
- Acceleration: flat
- Touchpad:
- Edge scrolling: no
- Two-finger scrolling: yes
- Reverse scrolling: no
- Power Management:
- Energy Saving:
- On AC Power:
- Dim screen: OFF
- Switch off screen after 5 min
- Suspend session: NO
- Button events:
- When lid closed: Do nothing
- When power button pressed: Prompt log out dialog
- On Battery:
- Dim screen: OFF
- Switch off screen after 5 min
- Suspend session: 10 min
- Button events:
- When lid closed: Do nothing
- When power button pressed: Prompt log out dialog
- On Low Battery:
- Screen brightness: low
- Dim screen: OFF
- Switch off screen after 5 min
- Suspend session: 10 min
- Button events:
- When lid closed: Suspend, even when an external monitor is
- connected
- When power button pressed: Prompt log out dialog
- Advanced Setting:
- Low level: 10%
- Critical level: 3%
- At critical level: Hibernate
- Pause media players when suspending: ON
- Removable Storage:
- Removable Devices:
- Enable automatic mounting of removable media: OFF
-
-## Widgets configuration
-
-Application Menu:
- Behaviour:
- Icon: Stardewvalley chicken
- Show application as: Name only
- Categories:
- Show: Recently used
- Show recent applications
- Show recent documents
- Search:
- Expand search to bookmarks, files and emails
- Align search results to bottom # what does this do?
-
-Task Manager:
- Position:
- Bottom, autohide, 30 px heigh
- Widgets:
- Quicklaunch: Dolphin, Vim, Konsole, Netbeans, Thunderbird, Clementine,
- Spotify
- System Tray
- Battery
- Media Controls
- Clipboard
- Clock:
- Appearance:
- Show date
- Show seconds
- Use 24-hour Clock
- ISO Date
- Calendar:
- Show week numbers in Calendar
- Show desktop button
-
-Netspeed
-
-Comic Strip
diff --git a/vimrc b/vimrc
index c79e5c8..05bfd90 100644
--- a/vimrc
+++ b/vimrc
@@ -25,7 +25,7 @@ set backspace=indent,eol,start
" Number gutter
" =============
set nonumber
-set relativenumber
+set norelativenumber
" Search
" ======
@@ -38,12 +38,13 @@ set smartcase
" Indentation
" ===========
-" softtabs de 4 columnas, no se expanden los tabs (util para tabular y para
-" programar en assembler)
+" softtabs de 4 columnas
+" TODO mapping to switch from softtabs to actual tabs by reseting expandtab and
+" softtabstop
set tabstop=8
set softtabstop=4
set shiftwidth=4
-set noexpandtab
+set expandtab
" autoindent -> smartindent -> cindent -> indentexpr (from less to more
" general, each one overrides the previous ones)
set smartindent " This is a really nice and simple one