diff options
-rw-r--r-- | Xresources/.Xresources | 309 | ||||
-rw-r--r-- | alacritty/.config/alacritty/alacritty.yml | 816 | ||||
-rwxr-xr-x | herbstluftwm/.config/herbstluftwm/autostart | 187 | ||||
-rwxr-xr-x | herbstluftwm/.config/herbstluftwm/panel.sh | 204 | ||||
-rw-r--r-- | spacemacs/.emacs.d/private/irony-mode/packages.el | 44 | ||||
-rw-r--r-- | spacemacs/.spacemacs | 75 | ||||
-rw-r--r-- | vim/.vimrc | 425 |
7 files changed, 0 insertions, 2060 deletions
diff --git a/Xresources/.Xresources b/Xresources/.Xresources deleted file mode 100644 index 05e5d69..0000000 --- a/Xresources/.Xresources +++ /dev/null @@ -1,309 +0,0 @@ -! Compile xft: Attempt to find a visual with the given bit depth; option -depth. -URxvt*depth: 32 - -! Compile xft: Turn on/off double-buffering for xft (default enabled). On some card/driver combination enabling it slightly decreases performance, on -! URxvt*buffered: boolean - -! Create the window with the specified X window geometry [default 80x24]; option -geometry. -! URxvt*geometry: geom - -! Use the specified colour as the windows background colour [default White]; option -bg. -URxvt*background: black -!URxvt*backgroundPixmap: /home/daniel/Pictures/term_bg.jpg;style=tiled - -! Use the specified colour as the windows foreground colour [default Black]; option -fg. -URxvt*foreground: white - -! Use the specified colour for the colour value n, where 0-7 corresponds to low-intensity (normal) colours and 8-15 corresponds to high-intensity (bold = -! URxvt*colorn: colour -! URxvt*color0: #2E3436 -! URxvt*color1: #a40000 -! URxvt*color2: #4E9A06 -! URxvt*color3: #C4A000 -! URxvt*color4: #3465A4 -! URxvt*color5: #75507B -! URxvt*color6: #ce5c00 -! URxvt*color7: #babdb9 -! URxvt*color8: #555753 -! URxvt*color9: #EF2929 -! URxvt*color10: #8AE234 -! URxvt*color11: #FCE94F -! URxvt*color12: #729FCF -! URxvt*color13: #AD7FA8 -! URxvt*color14: #fcaf3e -! URxvt*color15: #EEEEEC - -URxvt*color1: #FF2020 - -! -! URxvt*colorBD: colour - -! Use the specified colour to display bold or italic characters when the foreground colour is the default. If font styles are not available (Compile -! URxvt*colorIT: colour - -! Use the specified colour to display underlined characters when the foreground colour is the default. -! URxvt*colorUL: colour - -! If set, use the specified colour as the colour for the underline itself. If unset, use the foreground colour. -! URxvt*underlineColor: colour - -! If set, use the specified colour as the background for highlighted characters. If unset, use reverse video. -! URxvt*highlightColor: colour - -! If set and highlightColor is set, use the specified colour as the foreground for highlighted characters. -! URxvt*highlightTextColor: colour - -! Use the specified colour for the cursor. The default is to use the foreground colour; option -cr. -! URxvt*cursorColor: colour - -! Use the specified colour for the colour of the cursor text. For this to take effect, cursorColor must also be specified. The default is to use the -! URxvt*cursorColor2: colour - -! True: simulate reverse video by foreground and background colours; option -rv. False: regular screen colours [default]; option +rv. See note in COLOURS -! URxvt*reverseVideo: boolean - -! True: specify that jump scrolling should be used. When receiving lots of lines, urxvt will only scroll once a whole screen height of lines has been -! URxvt*jumpScroll: boolean - -! True: (the default) specify that skip scrolling should be used. When receiving lots of lines, urxvt will only scroll once in a while (around 60 times -! URxvt*skipScroll: boolean - -! Fade the text by the given percentage when focus is lost; option -fade. -! URxvt*fading: number - -! Fade to this colour, when fading is used (see fading:). The default colour is black; option -fadecolor. -! URxvt*fadeColor: colour - -! Set the application icon pixmap; option -icon. -! URxvt*iconFile: file - -! Use the specified colour for the scrollbar [default #B2B2B2]. -! URxvt*scrollColor: colour - -! Use the specified colour for the scrollbars trough area [default #969696]. Only relevant for rxvt (non XTerm/NeXT) scrollbar. -! URxvt*troughColor: colour - -! The colour of the border around the text area and between the scrollbar and the text. -! URxvt*borderColor: colour - -! Select the fonts to be used. This is a comma separated list of font names that are checked in order when trying to find glyphs for characters. The first -URxvt*font: xft:inconsolata:size=10 - -! URxvt*boldFont: fontlist - -! -! URxvt*italicFont: fontlist - -! The font list to use for displaying bold, italic or bold italic characters, respectively. -! URxvt*boldItalicFont: fontlist - -! When font styles are not enabled, or this option is enabled (True, option -is, the default), bold/blink font styles imply high intensity -! URxvt*intensityStyles: boolean - -! Set window title string, the default title is the command-line specified after the -e option, if any, otherwise the application name; option -title. -! URxvt*title: string - -! Set the name used to label the windows icon or displayed in an icon manager window, it also sets the windows title unless it is explicitly set; option -! URxvt*iconName: string - -! True: de-iconify (map) on receipt of a bell character. False: no de-iconify (map) on receipt of a bell character [default]. -! URxvt*mapAlert: boolean - -! True: set the urgency hint for the wm on receipt of a bell character. False: do not set the urgency hint [default]. -! URxvt*urgentOnBell: boolean - -! True: use visual bell on receipt of a bell character; option -vb. False: no visual bell [default]; option +vb. -! URxvt*visualBell: boolean - -! True: start as a login shell by prepending a - to argv[0] of the shell; option -ls. False: start as a normal sub-shell [default]; option +ls. -! URxvt*loginShell: boolean - -! Specify the maximum time in milliseconds between multi-click select events. The default is 500 milliseconds; option -mc. -! URxvt*multiClickTime: number - -! True: inhibit writing record into the system log file utmp; option -ut. False: write record into the system log file utmp [default]; option +ut. -! URxvt*utmpInhibit: boolean - -! Specify a command pipe for vt100 printer [default lpr(1)]. Use Print to initiate a screen dump to the printer and Ctrl-Print or Shift-Print to include -! URxvt*print-pipe: string - -! Set scrollbar style to rxvt, plain, next or xterm. plain is the authors favourite. -! URxvt*scrollstyle: mode - -! Set the scrollbar width in pixels. -! URxvt*thickness: number - -! True: enable the scrollbar [default]; option -sb. False: disable the scrollbar; option +sb. -URxvt*scrollBar: false - -! True: place the scrollbar on the right of the window; option -sr. False: place the scrollbar on the left of the window; option +sr. -! URxvt*scrollBar_right: boolean - -! True: display an rxvt scrollbar without a trough; option -st. False: display an rxvt scrollbar with a trough; option +st. -! URxvt*scrollBar_floating: boolean - -! Align the top, bottom or centre [default] of the scrollbar thumb with the pointer on middle button press/drag. -! URxvt*scrollBar_align: mode - -! True: scroll to bottom when tty receives output; option -si. False: do not scroll to bottom when tty receives output; option +si. -! URxvt*scrollTtyOutput: boolean -URxvt*scrollTtyOutput: false - -! True: scroll with scrollback buffer when tty receives new lines (i.e. try to show the same lines) and scrollTtyOutput is False; option -sw. False: do -! URxvt*scrollWithBuffer: boolean -URxvt*scrollWithBuffer: true - -! True: scroll to bottom when a non-special key is pressed. Special keys are those which are intercepted by rxvt-unicode for special handling and are not -! URxvt*scrollTtyKeypress: boolean -URxvt*scrollTtyKeypress: true - -! Save number lines in the scrollback buffer [default 64]. This resource is limited on most machines to 65535; option -sl. -! URxvt*saveLines: number - -! Internal border of number pixels. This resource is limited to 100; option -b. -URxvt*internalBorder: 0 - -! External border of number pixels. This resource is limited to 100; option -w, -bw, -borderwidth. -! URxvt*externalBorder: number - -! Set MWM hints to request a borderless window, i.e. if honoured by the WM, the rxvt-unicode window will not have window decorations; option -bl. -! URxvt*borderLess: boolean - -! Compile frills: Disable the usage of the built-in block graphics/line drawing characters and just rely on what the specified fonts provide. Use this if -! URxvt*skipBuiltinGlyphs: boolean - -! Specifies the terminal type name to be set in the TERM environment variable; option -tn. -! URxvt*termName: termname - -! Specifies number of lines (pixel height) to insert between each row of the display [default 0]; option -lsp. -! URxvt*lineSpace: number - -! True: handle Meta (Alt) + keypress to set the 8th bit. False: handle Meta (Alt) + keypress as an escape prefix [default]. -! URxvt*meta8: boolean - -! True: the mouse wheel scrolls a page full. False: the mouse wheel scrolls five lines [default]. -! URxvt*mouseWheelScrollPage: boolean - -! True: store tabs as wide characters. False: interpret tabs as cursor movement only; option "-ptab". -! URxvt*pastableTabs: boolean - -! True: blink the cursor. False: do not blink the cursor [default]; option -bc. -! URxvt*cursorBlink: boolean - -! True: Make the cursor underlined. False: Make the cursor a box [default]; option -uc. -! URxvt*cursorUnderline: boolean - -! True: blank the pointer when a key is pressed or after a set number of seconds of inactivity. False: the pointer is always visible [default]. -! URxvt*pointerBlank: boolean - -! Mouse pointer foreground colour. -! URxvt*pointerColor: colour - -! Mouse pointer background colour. -! URxvt*pointerColor2: colour - -! Specifies number of seconds before blanking the pointer [default 2]. Use a large number (e.g. 987654321) to effectively disable the timeout. -! URxvt*pointerBlankDelay: number - -! The string to send when the backspace key is pressed. If set to DEC or unset it will send Delete (code 127) or, with control, Backspace (code 8) - which -! URxvt*backspacekey: string - -! The string to send when the delete key (not the keypad delete key) is pressed. If unset it will send the sequence traditionally associated with the -! URxvt*deletekey: string - -! The characters used as delimiters for double-click word selection (whitespace delimiting is added automatically if resource is given). -! URxvt*cutchars: string - -! -! URxvt*{|} - -! OverTheSpot, OffTheSpot, Root; option -pt. -! URxvt*preeditType: style - -! name of inputMethod to use; option -im. -! URxvt*inputMethod: name - -! The locale to use for opening the IM. You can use an "LC_CTYPE" of e.g. "de_DE.UTF-8" for normal text processing but "ja_JP.EUC-JP" for the input -! URxvt*imLocale: name - -! Specify the font-set used for XIM styles "OverTheSpot" or "OffTheSpot". It must be a standard X font set (XLFD patterns separated by commas), i.e. its -! URxvt*imFont: fontset - -! Change the meaning of triple-click selection with the left mouse button. Instead of selecting a full line it will extend the selection to the end of the -! URxvt*tripleclickwords: boolean - -! Enables "insecure" mode. Rxvt-unicode offers some escape sequences that echo arbitrary strings like the icon name or the locale. This could be abused if -! URxvt*insecure: boolean - -! Set the key to be interpreted as the Meta key to: alt, meta, hyper, super, mod1, mod2, mod3, mod4, mod5; option -mod. -! URxvt*modifier: modifier - -! Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) character is passed through. It may contain escape values as described in the -! URxvt*answerbackString: string - -! Turn on/off secondary screen (default enabled). -! URxvt*secondaryScreen: boolean - -! Turn on/off secondary screen scroll (default enabled). If this option is enabled, scrolls on the secondary screen will change the scrollback buffer and, -! URxvt*secondaryScroll: boolean - -! Turn on/off hold window after exit support. If enabled, urxvt will not immediately destroy its window when the program executed within it exits. -! URxvt*hold: boolean - -! Sets the working directory for the shell (or the command specified via -e). The path must be an absolute path and it must exist for urxvt to start. If -! URxvt*chdir: path - -! Compile frills: Associate action with keysym sym. The intervening resource name keysym. cannot be omitted. -! URxvt*keysym.sym: action - -! URxvt*perl-ext-common: string - -! Comma-separated list(s) of perl extension scripts (default: "default") to use in this terminal instance; option -pe. -URxvt*perl-ext: default,tabbedex,matcher,clipboard - -! Perl code to be evaluated when all extensions have been registered. See the urxvtperl(3) manpage. -! URxvt*perl-eval: string - -! Colon-separated list of additional directories that hold extension scripts. When looking for perl extensions, urxvt will first look in these -! URxvt*perl-lib: path - -! Additional selection patterns, see the urxvtperl(3) manpage for details. -! URxvt*selection.pattern-idx: perl-regex - -! Selection auto-transform patterns, see the urxvtperl(3) manpage for details. -! URxvt*selection-autotransform.idx: perl-transform - -! This resource is deprecated and will be removed. Use a keysym resource instead, e.g.: -! URxvt*searchable-scrollback: keysym *DEPRECATED* - -! Specifies the program to be started with a URL argument. Used by the "selection-popup" and "matcher" perl extensions. -! URxvt*url-launcher: string - -! Compile frills: Sets the WM_TRANSIENT_FOR property to the given window id. -! URxvt*transient-for: windowid - -! Compile frills: Sets override-redirect for the terminal window, making it almost invisible to window managers; option -override-redirect. -! URxvt*override-redirect: boolean - -! Turn on/off ISO 14755 (default enabled). -URxvt*iso14755: false - -! Turn on/off ISO 14755 5.2 mode (default enabled). -URxvt*iso14755_52: false - -URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/terminal.svg -URxvt.url-launcher: /usr/bin/firefox -URxvt.matcher.button: 1 -URxvt.tabbed.new-button: false -URxvt.tabbed.autohide: true - -URxvt.keysym.Shift-Control-V: eval:paste_clipboard -URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard -! URxvt*clipboard.copycmd: xsel -ib -! URxvt*clipboard.pastecmd: xsel -ob -URxvt.keysym.C-Up: font-size:increase -URxvt.keysym.C-Down: font-size:decrease -URxvt.keysym.C-S-Up: font-size:incglobal -URxvt.keysym.C-S-Down: font-size:decglobal -URxvt.keysym.C-equal: font-size:reset -URxvt.keysym.C-slash: font-size:show diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml deleted file mode 100644 index 40038c2..0000000 --- a/alacritty/.config/alacritty/alacritty.yml +++ /dev/null @@ -1,816 +0,0 @@ -# Configuration for Alacritty, the GPU enhanced terminal emulator. - -# Import additional configuration files -# -# Imports are loaded in order, skipping all missing files, with the importing -# file being loaded last. If a field is already present in a previous import, it -# will be replaced. -# -# All imports must either be absolute paths starting with `/`, or paths relative -# to the user's home directory starting with `~/`. -#import: -# - /path/to/alacritty.yml - -# Any items in the `env` entry below will be added as -# environment variables. Some entries may override variables -# set by alacritty itself. -#env: - # TERM variable - # - # This value is used to set the `$TERM` environment variable for - # each instance of Alacritty. If it is not present, alacritty will - # check the local terminfo database and use `alacritty` if it is - # available, otherwise `xterm-256color` is used. - #TERM: alacritty - -#window: - # Window dimensions (changes require restart) - # - # Number of lines/columns (not pixels) in the terminal. The number of columns - # must be at least `2`, while using a value of `0` for columns and lines will - # fall back to the window manager's recommended size. - #dimensions: - # columns: 0 - # lines: 0 - - # Window position (changes require restart) - # - # Specified in number of pixels. - # If the position is not set, the window manager will handle the placement. - #position: - # x: 0 - # y: 0 - - # Window padding (changes require restart) - # - # Blank space added around the window in pixels. This padding is scaled - # by DPI and the specified value is always added at both opposing sides. - #padding: - # x: 0 - # y: 0 - - # Spread additional padding evenly around the terminal content. - #dynamic_padding: false - - # Window decorations - # - # Values for `decorations`: - # - full: Borders and title bar - # - none: Neither borders nor title bar - # - # Values for `decorations` (macOS only): - # - transparent: Title bar, transparent background and title bar buttons - # - buttonless: Title bar, transparent background and no title bar buttons - #decorations: full - - # Startup Mode (changes require restart) - # - # Values for `startup_mode`: - # - Windowed - # - Maximized - # - Fullscreen - # - # Values for `startup_mode` (macOS only): - # - SimpleFullscreen - #startup_mode: Windowed - - # Window title - #title: Alacritty - - # Allow terminal applications to change Alacritty's window title. - #dynamic_title: true - - # Window class (Linux/BSD only): - #class: - # Application instance name - #instance: Alacritty - # General application class - #general: Alacritty - - # GTK theme variant (Linux/BSD only) - # - # Override the variant of the GTK theme. Commonly supported values are `dark` - # and `light`. Set this to `None` to use the default theme variant. - #gtk_theme_variant: None - -#scrolling: - # Maximum number of lines in the scrollback buffer. - # Specifying '0' will disable scrolling. - #history: 10000 - - # Scrolling distance multiplier. - #multiplier: 3 - -# Font configuration -font: - # Normal (roman) font face - #normal: - # Font family - # - # Default: - # - (macOS) Menlo - # - (Linux/BSD) monospace - # - (Windows) Consolas - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Regular - - # Bold font face - #bold: - # Font family - # - # If the bold family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Bold - - # Italic font face - #italic: - # Font family - # - # If the italic family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Italic - - # Bold italic font face - #bold_italic: - # Font family - # - # If the bold italic family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace - - # The `style` can be specified to pick a specific face. - #style: Bold Italic - - # Point size - #size: 11.0 - size: 10.0 - - # Offset is the extra space around each character. `offset.y` can be thought - # of as modifying the line spacing, and `offset.x` as modifying the letter - # spacing. - #offset: - # x: 0 - # y: 0 - - # Glyph offset determines the locations of the glyphs within their cells with - # the default being at the bottom. Increasing `x` moves the glyph to the - # right, increasing `y` moves the glyph upward. - #glyph_offset: - # x: 0 - # y: 0 - - # Thin stroke font rendering (macOS only) - # - # Thin strokes are suitable for retina displays, but for non-retina screens - # it is recommended to set `use_thin_strokes` to `false`. - #use_thin_strokes: true - -# If `true`, bold text is drawn using the bright color variants. -#draw_bold_text_with_bright_colors: false - -# Colors (Tomorrow Night) -#colors: - # Default colors - #primary: - # background: '#1d1f21' - # foreground: '#c5c8c6' - - # Bright and dim foreground colors - # - # The dimmed foreground color is calculated automatically if it is not - # present. If the bright foreground color is not set, or - # `draw_bold_text_with_bright_colors` is `false`, the normal foreground - # color will be used. - #dim_foreground: '#828482' - #bright_foreground: '#eaeaea' - - # Cursor colors - # - # Colors which should be used to draw the terminal cursor. - # - # Allowed values are CellForeground and CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - #cursor: - # text: CellBackground - # cursor: CellForeground - - # Vi mode cursor colors - # - # Colors for the cursor when the vi mode is active. - # - # Allowed values are CellForeground and CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - #vi_mode_cursor: - # text: CellBackground - # cursor: CellForeground - - # Search colors - # - # Colors used for the search bar and match highlighting. - #search: - # Allowed values are CellForeground and CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - #matches: - # foreground: '#000000' - # background: '#ffffff' - #focused_match: - # foreground: CellBackground - # background: CellForeground - - #bar: - # background: '#c5c8c6' - # foreground: '#1d1f21' - - # Line indicator - # - # Color used for the indicator displaying the position in history during - # search and vi mode. - # - # By default, these will use the opposing primary color. - #line_indicator: - # foreground: None - # background: None - - # Selection colors - # - # Colors which should be used to draw the selection area. - # - # Allowed values are CellForeground and CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - #selection: - # text: CellBackground - # background: CellForeground - - # Normal colors - #normal: - # black: '#1d1f21' - # red: '#cc6666' - # green: '#b5bd68' - # yellow: '#f0c674' - # blue: '#81a2be' - # magenta: '#b294bb' - # cyan: '#8abeb7' - # white: '#c5c8c6' - - # Bright colors - #bright: - # black: '#666666' - # red: '#d54e53' - # green: '#b9ca4a' - # yellow: '#e7c547' - # blue: '#7aa6da' - # magenta: '#c397d8' - # cyan: '#70c0b1' - # white: '#eaeaea' - - # Dim colors - # - # If the dim colors are not set, they will be calculated automatically based - # on the `normal` colors. - #dim: - # black: '#131415' - # red: '#864343' - # green: '#777c44' - # yellow: '#9e824c' - # blue: '#556a7d' - # magenta: '#75617b' - # cyan: '#5b7d78' - # white: '#828482' - - # Indexed Colors - # - # The indexed colors include all colors from 16 to 256. - # When these are not set, they're filled with sensible defaults. - # - # Example: - # `- { index: 16, color: '#ff00ff' }` - # - #indexed_colors: [] - -# Bell -# -# The bell is rung every time the BEL control character is received. -#bell: - # Visual Bell Animation - # - # Animation effect for flashing the screen when the visual bell is rung. - # - # Values for `animation`: - # - Ease - # - EaseOut - # - EaseOutSine - # - EaseOutQuad - # - EaseOutCubic - # - EaseOutQuart - # - EaseOutQuint - # - EaseOutExpo - # - EaseOutCirc - # - Linear - #animation: EaseOutExpo - - # Duration of the visual bell flash in milliseconds. A `duration` of `0` will - # disable the visual bell animation. - #duration: 0 - - # Visual bell animation color. - #color: '#ffffff' - - # Bell Command - # - # This program is executed whenever the bell is rung. - # - # When set to `command: None`, no command will be executed. - # - # Example: - # command: - # program: notify-send - # args: ["Hello, World!"] - # - #command: None - -# Background opacity -# -# Window opacity as a floating point number from `0.0` to `1.0`. -# The value `0.0` is completely transparent and `1.0` is opaque. -#background_opacity: 1.0 -background_opacity: 0.95 - -#selection: - # This string contains all characters that are used as separators for - # "semantic words" in Alacritty. - #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" - - # When set to `true`, selected text will be copied to the primary clipboard. - #save_to_clipboard: false - -#cursor: - # Cursor style - #style: - # Cursor shape - # - # Values for `shape`: - # - ▇ Block - # - _ Underline - # - | Beam - #shape: Block - - # Cursor blinking state - # - # Values for `blinking`: - # - Never: Prevent the cursor from ever blinking - # - Off: Disable blinking by default - # - On: Enable blinking by default - # - Always: Force the cursor to always blink - #blinking: Off - - # Vi mode cursor style - # - # If the vi mode cursor style is `None` or not specified, it will fall back to - # the style of the active value of the normal cursor. - # - # See `cursor.style` for available options. - #vi_mode_style: None - - # Cursor blinking interval in milliseconds. - #blink_interval: 750 - - # If this is `true`, the cursor will be rendered as a hollow box when the - # window is not focused. - #unfocused_hollow: true - - # Thickness of the cursor relative to the cell width as floating point number - # from `0.0` to `1.0`. - #thickness: 0.15 - -# Live config reload (changes require restart) -#live_config_reload: true - -# Shell -# -# You can set `shell.program` to the path of your favorite shell, e.g. -# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the -# shell. -# -# Default: -# - (macOS) /bin/bash --login -# - (Linux/BSD) user login shell -# - (Windows) powershell -#shell: -# program: /bin/bash -# args: -# - --login -shell: - program: /bin/tmux - -# Startup directory -# -# Directory the shell is started in. If this is unset, or `None`, the working -# directory of the parent process will be used. -#working_directory: None - -# Send ESC (\x1b) before characters when alt is pressed. -#alt_send_esc: true - -#mouse: - # Click settings - # - # The `double_click` and `triple_click` settings control the time - # alacritty should wait for accepting multiple clicks as one double - # or triple click. - #double_click: { threshold: 300 } - #triple_click: { threshold: 300 } - - # If this is `true`, the cursor is temporarily hidden when typing. - #hide_when_typing: false - - #url: - # URL launcher - # - # This program is executed when clicking on a text which is recognized as a - # URL. The URL is always added to the command as the last parameter. - # - # When set to `launcher: None`, URL launching will be disabled completely. - # - # Default: - # - (macOS) open - # - (Linux/BSD) xdg-open - # - (Windows) explorer - #launcher: - # program: xdg-open - # args: [] - - # URL modifiers - # - # These are the modifiers that need to be held down for opening URLs when - # clicking on them. The available modifiers are documented in the key - # binding section. - #modifiers: None - -# Mouse bindings -# -# Mouse bindings are specified as a list of objects, much like the key -# bindings further below. -# -# To trigger mouse bindings when an application running within Alacritty -# captures the mouse, the `Shift` modifier is automatically added as a -# requirement. -# -# Each mouse binding will specify a: -# -# - `mouse`: -# -# - Middle -# - Left -# - Right -# - Numeric identifier such as `5` -# -# - `action` (see key bindings) -# -# And optionally: -# -# - `mods` (see key bindings) -#mouse_bindings: -# - { mouse: Middle, action: PasteSelection } - -# Key bindings -# -# Key bindings are specified as a list of objects. For example, this is the -# default paste binding: -# -# `- { key: V, mods: Control|Shift, action: Paste }` -# -# Each key binding will specify a: -# -# - `key`: Identifier of the key pressed -# -# - A-Z -# - F1-F24 -# - Key0-Key9 -# -# A full list with available key codes can be found here: -# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants -# -# Instead of using the name of the keys, the `key` field also supports using -# the scancode of the desired key. Scancodes have to be specified as a -# decimal number. This command will allow you to display the hex scancodes -# for certain keys: -# -# `showkey --scancodes`. -# -# Then exactly one of: -# -# - `chars`: Send a byte sequence to the running application -# -# The `chars` field writes the specified string to the terminal. This makes -# it possible to pass escape sequences. To find escape codes for bindings -# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside -# of tmux. Note that applications use terminfo to map escape sequences back -# to keys. It is therefore required to update the terminfo when changing an -# escape sequence. -# -# - `action`: Execute a predefined action -# -# - ToggleViMode -# - SearchForward -# Start searching toward the right of the search origin. -# - SearchBackward -# Start searching toward the left of the search origin. -# - Copy -# - Paste -# - IncreaseFontSize -# - DecreaseFontSize -# - ResetFontSize -# - ScrollPageUp -# - ScrollPageDown -# - ScrollHalfPageUp -# - ScrollHalfPageDown -# - ScrollLineUp -# - ScrollLineDown -# - ScrollToTop -# - ScrollToBottom -# - ClearHistory -# Remove the terminal's scrollback history. -# - Hide -# Hide the Alacritty window. -# - Minimize -# Minimize the Alacritty window. -# - Quit -# Quit Alacritty. -# - ToggleFullscreen -# - SpawnNewInstance -# Spawn a new instance of Alacritty. -# - ClearLogNotice -# Clear Alacritty's UI warning and error notice. -# - ClearSelection -# Remove the active selection. -# - ReceiveChar -# - None -# -# - Vi mode exclusive actions: -# -# - Open -# Open URLs at the cursor location with the launcher configured in -# `url.launcher`. -# - ToggleNormalSelection -# - ToggleLineSelection -# - ToggleBlockSelection -# - ToggleSemanticSelection -# Toggle semantic selection based on `selection.semantic_escape_chars`. -# -# - Vi mode exclusive cursor motion actions: -# -# - Up -# One line up. -# - Down -# One line down. -# - Left -# One character left. -# - Right -# One character right. -# - First -# First column, or beginning of the line when already at the first column. -# - Last -# Last column, or beginning of the line when already at the last column. -# - FirstOccupied -# First non-empty cell in this terminal row, or first non-empty cell of -# the line when already at the first cell of the row. -# - High -# Top of the screen. -# - Middle -# Center of the screen. -# - Low -# Bottom of the screen. -# - SemanticLeft -# Start of the previous semantically separated word. -# - SemanticRight -# Start of the next semantically separated word. -# - SemanticLeftEnd -# End of the previous semantically separated word. -# - SemanticRightEnd -# End of the next semantically separated word. -# - WordLeft -# Start of the previous whitespace separated word. -# - WordRight -# Start of the next whitespace separated word. -# - WordLeftEnd -# End of the previous whitespace separated word. -# - WordRightEnd -# End of the next whitespace separated word. -# - Bracket -# Character matching the bracket at the cursor's location. -# - SearchNext -# Beginning of the next match. -# - SearchPrevious -# Beginning of the previous match. -# - SearchStart -# Start of the match to the left of the vi mode cursor. -# - SearchEnd -# End of the match to the right of the vi mode cursor. -# -# - Search mode exclusive actions: -# - SearchFocusNext -# Move the focus to the next search match. -# - SearchFocusPrevious -# Move the focus to the previous search match. -# - SearchConfirm -# - SearchCancel -# - SearchClear -# Reset the search regex. -# - SearchDeleteWord -# Delete the last word in the search regex. -# - SearchHistoryPrevious -# Go to the previous regex in the search history. -# - SearchHistoryNext -# Go to the next regex in the search history. -# -# - macOS exclusive actions: -# - ToggleSimpleFullscreen -# Enter fullscreen without occupying another space. -# -# - Linux/BSD exclusive actions: -# -# - CopySelection -# Copy from the selection buffer. -# - PasteSelection -# Paste from the selection buffer. -# -# - `command`: Fork and execute a specified command plus arguments -# -# The `command` field must be a map containing a `program` string and an -# `args` array of command line parameter strings. For example: -# `{ program: "alacritty", args: ["-e", "vttest"] }` -# -# And optionally: -# -# - `mods`: Key modifiers to filter binding actions -# -# - Command -# - Control -# - Option -# - Super -# - Shift -# - Alt -# -# Multiple `mods` can be combined using `|` like this: -# `mods: Control|Shift`. -# Whitespace and capitalization are relevant and must match the example. -# -# - `mode`: Indicate a binding for only specific terminal reported modes -# -# This is mainly used to send applications the correct escape sequences -# when in different modes. -# -# - AppCursor -# - AppKeypad -# - Search -# - Alt -# - Vi -# -# A `~` operator can be used before a mode to apply the binding whenever -# the mode is *not* active, e.g. `~Alt`. -# -# Bindings are always filled by default, but will be replaced when a new -# binding with the same triggers is defined. To unset a default binding, it can -# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for -# a no-op if you do not wish to receive input characters for that binding. -# -# If the same trigger is assigned to multiple actions, all of them are executed -# in the order they were defined in. -#key_bindings: - #- { key: Paste, action: Paste } - #- { key: Copy, action: Copy } - #- { key: L, mods: Control, action: ClearLogNotice } - #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } - #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, } - #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } - #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, } - #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } - - # Vi Mode - #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } - #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } - #- { key: Escape, mode: Vi|~Search, action: ClearSelection } - #- { key: I, mode: Vi|~Search, action: ScrollToBottom } - #- { key: I, mode: Vi|~Search, action: ToggleViMode } - #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } - #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } - #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } - #- { key: G, mode: Vi|~Search, action: ScrollToTop } - #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } - #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } - #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } - #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } - #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } - #- { key: Y, mode: Vi|~Search, action: Copy } - #- { key: Y, mode: Vi|~Search, action: ClearSelection } - #- { key: Copy, mode: Vi|~Search, action: ClearSelection } - #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } - #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } - #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } - #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } - #- { key: Return, mode: Vi|~Search, action: Open } - #- { key: K, mode: Vi|~Search, action: Up } - #- { key: J, mode: Vi|~Search, action: Down } - #- { key: H, mode: Vi|~Search, action: Left } - #- { key: L, mode: Vi|~Search, action: Right } - #- { key: Up, mode: Vi|~Search, action: Up } - #- { key: Down, mode: Vi|~Search, action: Down } - #- { key: Left, mode: Vi|~Search, action: Left } - #- { key: Right, mode: Vi|~Search, action: Right } - #- { key: Key0, mode: Vi|~Search, action: First } - #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } - #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } - #- { key: H, mods: Shift, mode: Vi|~Search, action: High } - #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } - #- { key: L, mods: Shift, mode: Vi|~Search, action: Low } - #- { key: B, mode: Vi|~Search, action: SemanticLeft } - #- { key: W, mode: Vi|~Search, action: SemanticRight } - #- { key: E, mode: Vi|~Search, action: SemanticRightEnd } - #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } - #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } - #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } - #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } - #- { key: Slash, mode: Vi|~Search, action: SearchForward } - #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } - #- { key: N, mode: Vi|~Search, action: SearchNext } - #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } - - # Search Mode - #- { key: Return, mode: Search|Vi, action: SearchConfirm } - #- { key: Escape, mode: Search, action: SearchCancel } - #- { key: C, mods: Control, mode: Search, action: SearchCancel } - #- { key: U, mods: Control, mode: Search, action: SearchClear } - #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } - #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } - #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } - #- { key: Up, mode: Search, action: SearchHistoryPrevious } - #- { key: Down, mode: Search, action: SearchHistoryNext } - #- { key: Return, mode: Search|~Vi, action: SearchFocusNext } - #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious } - - # (Windows, Linux, and BSD only) - #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste } - #- { key: C, mods: Control|Shift, action: Copy } - #- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward } - #- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward } - #- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection } - #- { key: Insert, mods: Shift, action: PasteSelection } - #- { key: Key0, mods: Control, action: ResetFontSize } - #- { key: Equals, mods: Control, action: IncreaseFontSize } - #- { key: Plus, mods: Control, action: IncreaseFontSize } - #- { key: NumpadAdd, mods: Control, action: IncreaseFontSize } - #- { key: Minus, mods: Control, action: DecreaseFontSize } - #- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize } - - # (Windows only) - #- { key: Return, mods: Alt, action: ToggleFullscreen } - - # (macOS only) - #- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" } - #- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory } - #- { key: Key0, mods: Command, action: ResetFontSize } - #- { key: Equals, mods: Command, action: IncreaseFontSize } - #- { key: Plus, mods: Command, action: IncreaseFontSize } - #- { key: NumpadAdd, mods: Command, action: IncreaseFontSize } - #- { key: Minus, mods: Command, action: DecreaseFontSize } - #- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize } - #- { key: V, mods: Command, action: Paste } - #- { key: C, mods: Command, action: Copy } - #- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection } - #- { key: H, mods: Command, action: Hide } - #- { key: M, mods: Command, action: Minimize } - #- { key: Q, mods: Command, action: Quit } - #- { key: W, mods: Command, action: Quit } - #- { key: N, mods: Command, action: SpawnNewInstance } - #- { key: F, mods: Command|Control, action: ToggleFullscreen } - #- { key: F, mods: Command, mode: ~Search, action: SearchForward } - #- { key: B, mods: Command, mode: ~Search, action: SearchBackward } - -#debug: - # Display the time it takes to redraw each frame. - #render_timer: false - - # Keep the log file after quitting Alacritty. - #persistent_logging: false - - # Log level - # - # Values for `log_level`: - # - Off - # - Error - # - Warn - # - Info - # - Debug - # - Trace - #log_level: Warn - - # Print all received window events. - #print_events: false diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart deleted file mode 100755 index ecf00b2..0000000 --- a/herbstluftwm/.config/herbstluftwm/autostart +++ /dev/null @@ -1,187 +0,0 @@ -#!/bin/bash - -DMENU='dmenu_run -l 8 -fn "inconsolata-8"' - -hc() { - herbstclient "$@" -} - -hc emit_hook reload - -xsetroot -solid '#5A8E3A' -xset -b -setxkbmap -option grp:alt_space_toggle "de(nodeadkeys),ru" - -# remove all existing keybindings -hc keyunbind --all - - -#feh --no-fehbg --bg-center ~/Pictures/Death_note_l_1366x768.jpg -#feh --no-fehbg --bg-fill ~/Pictures/Music\ Wallpapers/defeater.jpg -#feh --no-fehbg --bg-fill ~/Pictures/house-m.d.-wallpaper-17.jpg -#feh --no-fehbg --bg-fill ~/Pictures/NmigJ3H.jpg -~/.fehbg - -# keybindings -# if you have a super key you will be much happier with Mod set to Mod4 -#Mod=Mod1 # Use alt as the main modifier -Mod=Mod4 # Use the super key as the main modifier - -hc keybind $Mod-Escape spawn setxkbmap de nodeadkeys -hc keybind $Mod-Shift-q quit -hc keybind $Mod-Shift-r reload -hc keybind $Mod-Shift-c close -hc keybind $Mod-Return spawn urxvt -hc keybind $Mod-d spawn $DMENU -hc keybind $Mod-Shift-d spawn ~/Code/pappymenu/pappymenu.py -hc keybind $Mod-q close_or_remove - -# volume management -hc keybind XF86AudioLowerVolume spawn amixer set Master,0 1%- -hc keybind XF86AudioRaiseVolume spawn amixer set Master,0 1%+ -hc keybind $Mod-XF86AudioLowerVolume spawn amixer set Master,0 5%- -hc keybind $Mod-XF86AudioRaiseVolume spawn amixer set Master,0 5%+ - -# basic movement -# focusing clients -hc keybind $Mod-Left focus left -hc keybind $Mod-Down focus down -hc keybind $Mod-Up focus up -hc keybind $Mod-Right focus right -hc keybind $Mod-h focus left -hc keybind $Mod-j focus down -hc keybind $Mod-k focus up -hc keybind $Mod-l focus right - -# moving clients -hc keybind $Mod-Shift-Left shift left -hc keybind $Mod-Shift-Down shift down -hc keybind $Mod-Shift-Up shift up -hc keybind $Mod-Shift-Right shift right -hc keybind $Mod-Shift-h shift left -hc keybind $Mod-Shift-j shift down -hc keybind $Mod-Shift-k shift up -hc keybind $Mod-Shift-l shift right - -# splitting frames -# create an empty frame at the specified direction -hc keybind $Mod-u split bottom 0.5 -hc keybind $Mod-o split right 0.5 -# let the current frame explode into subframes -hc keybind $Mod-Control-space split explode - -# resizing frames -resizestep=0.05 -hc keybind $Mod-Control-h resize left +$resizestep -hc keybind $Mod-Control-j resize down +$resizestep -hc keybind $Mod-Control-k resize up +$resizestep -hc keybind $Mod-Control-l resize right +$resizestep -hc keybind $Mod-Control-Left resize left +$resizestep -hc keybind $Mod-Control-Down resize down +$resizestep -hc keybind $Mod-Control-Up resize up +$resizestep -hc keybind $Mod-Control-Right resize right +$resizestep - -# tags -tag_names=( {1..9} ) -tag_keys=( {1..9} 0 ) - -hc rename default "${tag_names[0]}" || true -for i in ${!tag_names[@]} ; do - hc add "${tag_names[$i]}" - key="${tag_keys[$i]}" - if ! [ -z "$key" ] ; then - hc keybind "$Mod-$key" use_index "$i" - hc keybind "$Mod-Shift-$key" move_index "$i" - fi -done - -# cycle through tags -hc keybind $Mod-period use_index +1 --skip-visible -hc keybind $Mod-comma use_index -1 --skip-visible - -# layouting -hc keybind $Mod-r remove -hc keybind $Mod-space cycle_layout 1 -hc keybind $Mod-s floating toggle -hc keybind $Mod-f fullscreen toggle -hc keybind $Mod-p pseudotile toggle - -# mouse -hc mouseunbind --all -hc mousebind $Mod-Button1 move -hc mousebind $Mod-Button2 zoom -hc mousebind $Mod-Button3 resize - -# focus -hc keybind $Mod-BackSpace cycle_monitor -hc keybind $Mod-Tab cycle_all +1 -hc keybind $Mod-Shift-Tab cycle_all -1 -hc keybind $Mod-c cycle -hc keybind $Mod-y spawn rofi -show window -hc keybind $Mod-i jumpto urgent - -# theme -hc attr theme.tiling.reset 1 -hc attr theme.floating.reset 1 -hc set frame_border_active_color '#222222' -hc set frame_border_normal_color '#101010' -hc set frame_bg_normal_color '#565656' -hc set frame_bg_active_color '#345F0C' -hc set frame_border_width 1 -hc set always_show_frame 1 -hc set frame_bg_transparent 1 -hc set frame_transparent_width 5 -hc set frame_gap 4 - -hc attr theme.active.color '#9fbc00' -hc attr theme.normal.color '#454545' -hc attr theme.urgent.color orange -hc attr theme.inner_width 1 -hc attr theme.inner_color black -hc attr theme.border_width 3 -hc attr theme.floating.border_width 4 -hc attr theme.floating.outer_width 1 -hc attr theme.floating.outer_color black -hc attr theme.active.inner_color '#3E4A00' -hc attr theme.active.outer_color '#3E4A00' -hc attr theme.background_color '#141414' - -hc set window_gap 0 -hc set frame_padding 0 -hc set smart_window_surroundings 0 -hc set smart_frame_surroundings 1 -hc set mouse_recenter_gap 0 - -# rules -hc unrule -F -#hc rule class=XTerm tag=3 # move all xterms to tag 3 -hc rule focus=on # normally focus new clients -#hc rule focus=off # normally do not focus new clients -# give focus to most common terminals -#hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on -hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on -hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on -hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off - -# unlock, just to be sure -hc unlock - -herbstclient set tree_style '╾│ ├└╼─┐' - -# do multi monitor setup here, e.g.: -# hc set_monitors 1280x1024+0+0 1280x1024+1280+0 -# or simply: -# hc detect_monitors - -# find the panel -panel=~/.config/herbstluftwm/panel.sh -[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh -for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do - # start it on each monitor - "$panel" $monitor & -done - -[[ -z "$(pidof nm-applet)" ]] && nm-applet & -[[ -z "$(pidof pasystray)" ]] && pasystray >/dev/null 2>&1 & -pgrep -f /usr/bin/udiskie >/dev/null || udiskie -ans & - diff --git a/herbstluftwm/.config/herbstluftwm/panel.sh b/herbstluftwm/.config/herbstluftwm/panel.sh deleted file mode 100755 index 57a95b1..0000000 --- a/herbstluftwm/.config/herbstluftwm/panel.sh +++ /dev/null @@ -1,204 +0,0 @@ -#!/bin/bash - -hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;} -monitor=${1:-0} -geometry=( $(herbstclient monitor_rect "$monitor") ) -if [ -z "$geometry" ] ;then - echo "Invalid monitor $monitor" - exit 1 -fi -# geometry has the format W H X Y -x=${geometry[0]} -y=${geometry[1]} -tray_width=200 -panel_width=$(( ${geometry[2]} - $tray_width )) -panel_height=16 -font="-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*" -bgcolor=$(hc get frame_border_normal_color) -selbg=$(hc get window_border_active_color) -selfg='#101010' - -#### -# Try to find textwidth binary. -# In e.g. Ubuntu, this is named dzen2-textwidth. -if which textwidth &> /dev/null ; then - textwidth="textwidth"; -elif which dzen2-textwidth &> /dev/null ; then - textwidth="dzen2-textwidth"; -else - echo "This script requires the textwidth tool of the dzen2 project." - exit 1 -fi -#### -# true if we are using the svn version of dzen2 -# depending on version/distribution, this seems to have version strings like -# "dzen-" or "dzen-x.x.x-svn" -if dzen2 -v 2>&1 | head -n 1 | grep -q '^dzen-\([^,]*-svn\|\),'; then - dzen2_svn="true" -else - dzen2_svn="" -fi - -if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then - # mawk needs "-W interactive" to line-buffer stdout correctly - # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593504 - uniq_linebuffered() { - awk -W interactive '$0 != l { print ; l=$0 ; fflush(); }' "$@" - } -else - # other awk versions (e.g. gawk) issue a warning with "-W interactive", so - # we don't want to use it there. - uniq_linebuffered() { - awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" - } -fi - -hc pad $monitor $panel_height - -{ - ### Event generator ### - # based on different input data (mpc, date, hlwm hooks, ...) this generates events, formed like this: - # <eventname>\t<data> [...] - # e.g. - # date ^fg(#efefef)18:33^fg(#909090), 2013-10-^fg(#efefef)29 - - #mpc idleloop player & - while true ; do - # "date" output is checked once a second, but an event is only - # generated if the output changed compared to the previous run. - echo -e "addinfo\t^fg(#ff2200)$USER^fg()@^fg(#22ff00)$(hostname)^fg() -"\ - "Vol: ^fg(#66FF30)$(volume.sh)^fg() - Bat: ^fg(#66FF30)$(battery.sh)" - # date +$'date\t^fg(#efefef)%H:%M^fg(#909090), %Y-%m-^fg(#efefef)%d' - date +$'date\t^fg(#efefef)%H:%M:%S^fg(#909090), %Y-%m-^fg(#efefef)%d' - sleep 0.5 || break - done > >(uniq_linebuffered) & - childpid=$! - hc --idle - kill $childpid -} 2> /dev/null | { - IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" - visible=true - date="" - windowtitle="" - addinfo="" - while true ; do - - ### Output ### - # This part prints dzen data based on the _previous_ data handling run, - # and then waits for the next event to happen. - #echo -n "^bg(#505050)^ca(1,~/Code/pappymenu/pappymenu.py) Apps ^ca()^bg()" - #echo -n "$separator" - bordercolor="#26221C" - separator="^bg()^fg($selbg)|" - # draw tags - for i in "${tags[@]}" ; do - case ${i:0:1} in - '#') - echo -n "^bg($selbg)^fg($selfg)" - ;; - '+') - echo -n "^bg(#9CA668)^fg(#141414)" - ;; - ':') - echo -n "^bg()^fg(#ffffff)" - ;; - '!') - echo -n "^bg(#FF0675)^fg(#141414)" - ;; - *) - echo -n "^bg()^fg(#ababab)" - ;; - esac - if [ ! -z "$dzen2_svn" ] ; then - # clickable tags if using SVN dzen - echo -n "^ca(1,\"${herbstclient_command[@]:-herbstclient}\" " - echo -n "focus_monitor \"$monitor\" && " - echo -n "\"${herbstclient_command[@]:-herbstclient}\" " - echo -n "use \"${i:1}\") ${i:1} ^ca()" - else - # non-clickable tags if using older dzen - echo -n " ${i:1} " - fi - done - echo -n "$separator" - echo -n "^bg()^fg() ${windowtitle//^/^^}" - # small adjustments - right="$separator $addinfo $separator^bg() $date $separator" - right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g') - # get width of right aligned text.. and add some space.. - width=$($textwidth "$font" "$right_text_only ") - echo -n "^pa($(($panel_width - $width)))$right" - echo - - ### Data handling ### - # This part handles the events generated in the event loop, and sets - # internal variables based on them. The event and its arguments are - # read into the array cmd, then action is taken depending on the event - # name. - # "Special" events (quit_panel/togglehidepanel/reload) are also handled - # here. - - # wait for next event - IFS=$'\t' read -ra cmd || break - # find out event origin - case "${cmd[0]}" in - tag*) - #echo "resetting tags" >&2 - IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" - ;; - date) - #echo "resetting date" >&2 - date="${cmd[@]:1}" - ;; - addinfo) - #echo "resetting info" >&2 - addinfo="${cmd[@]:1}" - ;; - quit_panel) - exit - ;; - togglehidepanel) - currentmonidx=$(hc list_monitors | sed -n '/\[FOCUS\]$/s/:.*//p') - if [ "${cmd[1]}" -ne "$monitor" ] ; then - continue - fi - if [ "${cmd[1]}" = "current" ] && [ "$currentmonidx" -ne "$monitor" ] ; then - continue - fi - echo "^togglehide()" - if $visible ; then - visible=false - hc pad $monitor 0 - else - visible=true - hc pad $monitor $panel_height - fi - ;; - reload) - exit - ;; - focus_changed|window_title_changed) - windowtitle="${cmd[@]:2}" - ;; - #player) - # ;; - esac - done - - ### dzen2 ### - # After the data is gathered and processed, the output of the previous block - # gets piped to dzen2. - -} 2> /dev/null | dzen2 -w $panel_width -x $x -y $y -fn "$font" -h $panel_height \ - -e 'button3=;button4=exec:herbstclient use_index -1;button5=exec:herbstclient use_index +1' \ - -ta l -bg "$bgcolor" -fg '#efefef' & - -pids+=($!) - -trayer --edge top --align right --widthtype pixel --width $tray_width --heighttype pixel --height 16 \ - --tint "0xff${bgcolor:1}" --transparent true --alpha 0 & - -pids+=($!) - -herbstclient --wait '^(quit|reload).*' -kill -TERM "${pids[@]}" >/dev/null 2>&1 diff --git a/spacemacs/.emacs.d/private/irony-mode/packages.el b/spacemacs/.emacs.d/private/irony-mode/packages.el deleted file mode 100644 index ab7fd30..0000000 --- a/spacemacs/.emacs.d/private/irony-mode/packages.el +++ /dev/null @@ -1,44 +0,0 @@ -(setq irony-mode-packages - '(irony - company-irony - flycheck-irony)) - -(setq irony-mode-excluded-packages - '(auto-complete-clang)) - -(defun irony-mode/init-irony () - (use-package irony - :defer t - :init - (progn - (add-hook 'c++-mode-hook 'irony-mode) - (add-hook 'c-mode-hook 'irony-mode) - (add-hook 'objc-mode-hook 'irony-mode) - (add-hook 'irony-mode-hook - (lambda () - (define-key irony-mode-map [remap completion-at-point] - 'irony-completion-at-point-async) - (define-key irony-mode-map [remap complete-symbol] - 'irony-completion-at-point-async))) - (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options) - (spacemacs|diminish irony-mode " Ⓘ" " I")))) - -(defun irony-mode/init-company-irony () - (use-package company-irony - :defer t - :init - (progn - (eval-after-load 'company - '(add-to-list 'company-backends 'company-irony)) - (add-hook 'irony-mode-hook 'company-irony-setup-begin-commands) - (add-hook 'irony-mode-hook 'company-mode)))) - -(defun irony-mode/init-flycheck-irony () - (use-package flycheck-irony - ;; :defer t ; fix this ??? - :init - (progn - (eval-after-load 'flycheck - '(add-to-list 'flycheck-checkers 'irony)) - (add-hook 'irony-mode-hook 'flycheck-mode)))) - diff --git a/spacemacs/.spacemacs b/spacemacs/.spacemacs deleted file mode 100644 index 7398c49..0000000 --- a/spacemacs/.spacemacs +++ /dev/null @@ -1,75 +0,0 @@ -(defun dotspacemacs/layers () - (setq-default - dotspacemacs-distribution 'spacemacs - dotspacemacs-configuration-layers '( - csv - sql - javascript - html - markdown - yaml - auto-completion - irony-mode - version-control - git - haskell - python - c-c++ - rust - themes-megapack - java - scala - ) - )) - -(defun dotspacemacs/init () - (setq-default - dotspacemacs-themes '(wombat solarized-dark solarized-light) - dotspacemacs-line-numbers t) - - (setenv "RUST_SRC_PATH" "/home/daniel/src/rust/src") - (setq racer-rust-src-path "/home/daniel/src/rust/src") - (setq racer-cmd "/usr/bin/racer") - (setq eclim-eclipse-dirs "/usr/lib/eclipse" - eclim-executable "/usr/lib/eclipse/eclim") - (setq company-tooltip-align-annotations t) - ) - -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(ac-ispell-requires 4 t) - '(ahs-case-fold-search nil) - '(ahs-default-range (quote ahs-range-whole-buffer)) - '(ahs-idle-interval 0.25) - '(ahs-idle-timer 0 t) - '(ahs-inhibit-face-list nil) - '(c-basic-offset 4) - '(c-offsets-alist - (quote - ((access-label . -1) - (inclass . 2) - (innamespace . 0)))) - '(haskell-interactive-popup-error nil t) - '(haskell-mode-hook (quote (spacemacs/init-haskell-mode ghc-init)) t) - '(haskell-notify-p t t) - '(haskell-process-auto-import-loaded-modules t t) - '(haskell-process-suggest-remove-import-lines t t) - '(haskell-process-type (quote auto)) - '(haskell-stylish-on-save nil t) - '(haskell-tags-on-save t) - '(package-selected-packages - (quote - (csv-mode sql-indent powerline spinner org hydra projectile fringe-helper git-gutter+ git-gutter iedit autothemer rust-mode bind-key auto-complete anaconda-mode company highlight anzu smartparens bind-map evil undo-tree irony flycheck haskell-mode request helm helm-core yasnippet magit magit-popup git-commit with-editor async f s dash package-build spray smooth-scrolling shm page-break-lines leuven-theme jade-mode evil-indent-textobject company-racer buffer-move auto-dictionary evil-leader livid-mode skewer-mode js2-refactor multiple-cursors web-beautify simple-httpd json-mode json-snatcher json-reformat js2-mode js-doc company-tern dash-functional tern coffee-mode web-mode tagedit slim-mode scss-mode sass-mode pug-mode less-css-mode helm-css-scss haml-mode emmet-mode company-web web-completion-data noflet ensime sbt-mode scala-mode company-emacs-eclim eclim mmm-mode markdown-toc markdown-mode gh-md yaml-mode sourcerer-theme hide-comnt helm-purpose window-purpose imenu-list zonokai-theme zenburn-theme zen-and-art-theme yapfify ws-butler window-numbering which-key volatile-highlights vi-tilde-fringe uuidgen use-package underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme tronesque-theme toxi-theme toml-mode toc-org tao-theme tangotango-theme tango-plus-theme tango-2-theme sunny-day-theme sublime-themes subatomic256-theme subatomic-theme stekene-theme spacemacs-theme spaceline spacegray-theme soothe-theme solarized-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme smeargle seti-theme reverse-theme restart-emacs rainbow-delimiters railscasts-theme racer quelpa pyvenv pytest pyenv-mode py-isort purple-haze-theme professional-theme popwin planet-theme pip-requirements phoenix-dark-pink-theme phoenix-dark-mono-theme persp-mode pcre2el pastels-on-dark-theme paradox orgit organic-green-theme org-plus-contrib org-bullets open-junk-file omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noctilux-theme niflheim-theme neotree naquadah-theme mustang-theme move-text monokai-theme monochrome-theme molokai-theme moe-theme minimal-theme material-theme majapahit-theme magit-gitflow lush-theme lorem-ipsum live-py-mode linum-relative link-hint light-soap-theme jbeans-theme jazz-theme ir-black-theme intero inkpot-theme info+ indent-guide ido-vertical-mode hy-mode hungry-delete hlint-refactor hl-todo hindent highlight-parentheses highlight-numbers highlight-indentation heroku-theme hemisu-theme help-fns+ helm-themes helm-swoop helm-pydoc helm-projectile helm-mode-manager helm-make helm-hoogle helm-gitignore helm-flx helm-descbinds helm-company helm-c-yasnippet helm-ag hc-zenburn-theme haskell-snippets gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme google-translate golden-ratio gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gandalf-theme flycheck-irony flx-ido flatui-theme flatland-theme firebelly-theme fill-column-indicator farmhouse-theme fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-args evil-anzu eval-sexp-fu espresso-theme dumb-jump dracula-theme django-theme disaster diff-hl define-word darktooth-theme darkokai-theme darkmine-theme darkburn-theme dakrone-theme cython-mode cyberpunk-theme company-statistics company-quickhelp company-irony company-ghci company-ghc company-cabal company-c-headers company-anaconda column-enforce-mode colorsarenice-theme color-theme-sanityinc-tomorrow color-theme-sanityinc-solarized cmm-mode cmake-mode clues-theme clean-aindent-mode clang-format cherry-blossom-theme cargo busybee-theme bubbleberry-theme birds-of-paradise-plus-theme badwolf-theme auto-yasnippet auto-highlight-symbol apropospriate-theme anti-zenburn-theme ample-zen-theme ample-theme alect-themes aggressive-indent afternoon-theme adaptive-wrap ace-window ace-link ace-jump-helm-line ac-ispell))) - '(ring-bell-function (quote ignore)) - '(safe-local-variable-values (quote ((encoding . utf-8)))) - '(web-mode-code-indent-offset 2) - '(web-mode-markup-indent-offset 2)) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) diff --git a/vim/.vimrc b/vim/.vimrc deleted file mode 100644 index d306d12..0000000 --- a/vim/.vimrc +++ /dev/null @@ -1,425 +0,0 @@ -" ============================================================================ -" Vundle initialization -" Avoid modify this section, unless you are very sure of what you are doing - -" no vi-compatible -set nocompatible -set clipboard=unnamedplus -set cino=N-s -set relativenumber - -" Setting up Vundle - the vim plugin bundler -let iCanHazVundle=1 -let vundle_readme=expand('~/.vim/bundle/vundle/README.md') -if !filereadable(vundle_readme) - echo "Installing Vundle..." - echo "" - silent !mkdir -p ~/.vim/bundle - silent !git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle - let iCanHazVundle=0 -endif - -filetype off - -set rtp+=~/.vim/bundle/vundle/ -call vundle#rc() - -" let Vundle manage Vundle -Bundle 'gmarik/vundle' - -" ============================================================================ -" Active plugins -" You can disable or add new ones here: - -" Plugins from github repos: - -" Python and PHP Debugger -" Bundle 'fisadev/vim-debug.vim' -" Better file browser -Bundle 'scrooloose/nerdtree' -" Code commenter -Bundle 'scrooloose/nerdcommenter' -" Class/module browser -Bundle 'majutsushi/tagbar' -" Code and files fuzzy finder -Bundle 'kien/ctrlp.vim' -" Extension to ctrlp, for fuzzy command finder -Bundle 'fisadev/vim-ctrlp-cmdpalette' -" Zen coding -Bundle 'mattn/emmet-vim' -" Git integration -Bundle 'motemen/git-vim' -" Tab list panel -Bundle 'kien/tabman.vim' -" Airline -Bundle 'vim-airline/vim-airline' -Bundle 'vim-airline/vim-airline-themes' -" Terminal Vim with 256 colors colorscheme -Bundle 'fisadev/fisa-vim-colorscheme' -" Consoles as buffers -Bundle 'rosenfeld/conque-term' -" Pending tasks list -Bundle 'fisadev/FixedTaskList.vim' -" Surround -Bundle 'tpope/vim-surround' -" Autoclose -Bundle 'Townk/vim-autoclose' -" Indent text object -Bundle 'michaeljsmith/vim-indent-object' -" Python mode (indentation, doc, refactor, lints, code checking, motion and -" operators, highlighting, run and ipdb breakpoints) -Bundle 'klen/python-mode' -" Better autocompletion -"Bundle 'Shougo/neocomplcache.vim' -" Snippets manager (SnipMate), dependencies, and snippets repo -"Bundle 'MarcWeber/vim-addon-mw-utils' -"Bundle 'tomtom/tlib_vim' -"Bundle 'honza/vim-snippets' -"Bundle 'garbas/vim-snipmate' -" Git/mercurial/others diff icons on the side of the file lines -Bundle 'mhinz/vim-signify' -" Automatically sort python imports -Bundle 'fisadev/vim-isort' -" Drag visual blocks arround -Bundle 'fisadev/dragvisuals.vim' -" Window chooser -Bundle 't9md/vim-choosewin' -" Python and other languages code checker -"Bundle 'scrooloose/syntastic' -" Paint css colors with the real color -Bundle 'lilydjwg/colorizer' -" Relative numbering of lines (0 is the current line) -" (disabled by default because is very intrusive and can't be easily toggled -" on/off. When the plugin is present, will always activate the relative -" numbering every time you go to normal mode. Author refuses to add a setting -" to avoid that) -" Bundle 'myusuf3/numbers.vim' -Bundle 'rust-lang/rust.vim' - -" Plugins from vim-scripts repos: - -" Search results counter -Bundle 'IndexedSearch' -" XML/HTML tags navigation -Bundle 'matchit.zip' -" Gvim colorscheme -Bundle 'Wombat' -" Yank history navigation -Bundle 'YankRing.vim' - -" ============================================================================ -" Install plugins the first time vim runs - -if iCanHazVundle == 0 - echo "Installing Bundles, please ignore key map error messages" - echo "" - :BundleInstall -endif - -" ============================================================================ -" Vim settings and mappings -" You can edit them as you wish - -" allow plugins by file type (required for plugins!) -filetype plugin on -filetype indent on - -" tabs and spaces handling -set expandtab -set tabstop=4 -set softtabstop=4 -set shiftwidth=4 - -" tab length exceptions on some file types -autocmd FileType html setlocal shiftwidth=4 tabstop=4 softtabstop=4 -autocmd FileType htmldjango setlocal shiftwidth=4 tabstop=4 softtabstop=4 -autocmd FileType javascript setlocal shiftwidth=4 tabstop=4 softtabstop=4 - -" always show status bar -set ls=2 - -" incremental search -set incsearch -" highlighted search results -set hlsearch - -" syntax highlight on -syntax on - -" show line numbers -set nu - -" tab navigation mappings -map tn :tabn<CR> -map tp :tabp<CR> -map tm :tabm -map tt :tabnew -map ts :tab split<CR> -map <C-S-Right> :tabn<CR> -imap <C-S-Right> <ESC>:tabn<CR> -map <C-S-Left> :tabp<CR> -imap <C-S-Left> <ESC>:tabp<CR> - -" navigate windows with meta+arrows -map <M-Right> <c-w>l -map <M-Left> <c-w>h -map <M-Up> <c-w>k -map <M-Down> <c-w>j -imap <M-Right> <ESC><c-w>l -imap <M-Left> <ESC><c-w>h -imap <M-Up> <ESC><c-w>k -imap <M-Down> <ESC><c-w>j - -" old autocomplete keyboard shortcut -imap <C-J> <C-X><C-O> - -" Comment this line to enable autocompletion preview window -" (displays documentation related to the selected completion option) -" Disabled by default because preview makes the window flicker -set completeopt-=preview - -" save as sudo -ca w!! w !sudo tee "%" - -" simple recursive grep -" both recursive grep commands with internal or external (fast) grep -command! -nargs=1 RecurGrep lvimgrep /<args>/gj ./**/*.* | lopen | set nowrap -command! -nargs=1 RecurGrepFast silent exec 'lgrep! <q-args> ./**/*.*' | lopen -" mappings to call them -nmap ,R :RecurGrep -nmap ,r :RecurGrepFast -" mappings to call them with the default word as search text -nmap ,wR :RecurGrep <cword><CR> -nmap ,wr :RecurGrepFast <cword><CR> - -" use 256 colors when possible -if (&term =~? 'mlterm\|xterm\|xterm-256\|screen-256') || has('nvim') - let &t_Co = 256 - " colorscheme fisa - colorscheme desert -else - colorscheme desert -endif - -" colors for gvim -if has('gui_running') - colorscheme wombat -endif - -" when scrolling, keep cursor 3 lines away from screen border -set scrolloff=3 - -" autocompletion of files and commands behaves like shell -" (complete only the common part, list the options that match) -set wildmode=list:longest - -" better backup, swap and undos storage -set directory=~/.vim/dirs/tmp " directory to place swap files in -set backup " make backup files -set backupdir=~/.vim/dirs/backups " where to put backup files -set undofile " persistent undos - undo after you re-open the file -set undodir=~/.vim/dirs/undos -set viminfo+=n~/.vim/dirs/viminfo -" store yankring history file there too -let g:yankring_history_dir = '~/.vim/dirs/' - -" create needed directories if they don't exist -if !isdirectory(&backupdir) - call mkdir(&backupdir, "p") -endif -if !isdirectory(&directory) - call mkdir(&directory, "p") -endif -if !isdirectory(&undodir) - call mkdir(&undodir, "p") -endif - -" ============================================================================ -" Plugins settings and mappings -" Edit them as you wish. - -" Tagbar ----------------------------- - -" toggle tagbar display -map <F4> :TagbarToggle<CR> -" autofocus on tagbar open -let g:tagbar_autofocus = 1 - -" NERDTree ----------------------------- - -" toggle nerdtree display -map <F3> :NERDTreeToggle<CR> -" open nerdtree with the current file selected -nmap ,t :NERDTreeFind<CR> -" don;t show these file types -let NERDTreeIgnore = ['\.pyc$', '\.pyo$'] - - -" Tasklist ------------------------------ - -" show pending tasks list -map <F2> :TaskList<CR> - -" Vim-debug ------------------------------ - -" disable default mappings, have a lot of conflicts with other plugins -let g:vim_debug_disable_mappings = 1 -" add some useful mappings -map <F5> :Dbg over<CR> -map <F6> :Dbg into<CR> -map <F7> :Dbg out<CR> -map <F8> :Dbg here<CR> -map <F9> :Dbg break<CR> -map <F10> :Dbg watch<CR> -map <F11> :Dbg down<CR> -map <F12> :Dbg up<CR> - -" CtrlP ------------------------------ - -" file finder mapping -let g:ctrlp_map = ',e' -" tags (symbols) in current file finder mapping -nmap ,g :CtrlPBufTag<CR> -" tags (symbols) in all files finder mapping -nmap ,G :CtrlPBufTagAll<CR> -" general code finder in all files mapping -nmap ,f :CtrlPLine<CR> -" recent files finder mapping -nmap ,m :CtrlPMRUFiles<CR> -" commands finder mapping -nmap ,c :CtrlPCmdPalette<CR> -" to be able to call CtrlP with default search text -function! CtrlPWithSearchText(search_text, ctrlp_command_end) - execute ':CtrlP' . a:ctrlp_command_end - call feedkeys(a:search_text) -endfunction -" same as previous mappings, but calling with current word as default text -nmap ,wg :call CtrlPWithSearchText(expand('<cword>'), 'BufTag')<CR> -nmap ,wG :call CtrlPWithSearchText(expand('<cword>'), 'BufTagAll')<CR> -nmap ,wf :call CtrlPWithSearchText(expand('<cword>'), 'Line')<CR> -nmap ,we :call CtrlPWithSearchText(expand('<cword>'), '')<CR> -nmap ,pe :call CtrlPWithSearchText(expand('<cfile>'), '')<CR> -nmap ,wm :call CtrlPWithSearchText(expand('<cword>'), 'MRUFiles')<CR> -nmap ,wc :call CtrlPWithSearchText(expand('<cword>'), 'CmdPalette')<CR> -" don't change working directory -let g:ctrlp_working_path_mode = 0 -" ignore these files and folders on file finder -let g:ctrlp_custom_ignore = { - \ 'dir': '\v[\/](\.git|\.hg|\.svn|node_modules)$', - \ 'file': '\.pyc$\|\.pyo$', - \ } - -" Syntastic ------------------------------ - -" show list of errors and warnings on the current file -nmap <leader>e :Errors<CR> -" check also when just opened the file -let g:syntastic_check_on_open = 1 -" don't put icons on the sign column (it hides the vcs status icons of signify) -let g:syntastic_enable_signs = 0 -" custom icons (enable them if you use a patched font, and enable the previous -" setting) -"let g:syntastic_error_symbol = '✗' -"let g:syntastic_warning_symbol = '⚠' -"let g:syntastic_style_error_symbol = '✗' -"let g:syntastic_style_warning_symbol = '⚠' - -" Python-mode ------------------------------ - -" don't use linter, we use syntastic for that -let g:pymode_lint_on_write = 0 -let g:pymode_lint_signs = 0 -" don't fold python code on open -let g:pymode_folding = 0 -" don't load rope by default. Change to 1 to use rope -let g:pymode_rope = 0 -" open definitions on same window, and custom mappings for definitions and -" occurrences -let g:pymode_rope_goto_definition_bind = ',d' -let g:pymode_rope_goto_definition_cmd = 'e' -nmap ,D :tab split<CR>:PymodePython rope.goto()<CR> -nmap ,o :RopeFindOccurrences<CR> - -" NeoComplCache ------------------------------ - -" most of them not documented because I'm not sure how they work -" (docs aren't good, had to do a lot of trial and error to make -" it play nice) -let g:neocomplcache_enable_at_startup = 1 -let g:neocomplcache_enable_ignore_case = 1 -let g:neocomplcache_enable_smart_case = 1 -let g:neocomplcache_enable_auto_select = 1 -let g:neocomplcache_enable_fuzzy_completion = 1 -let g:neocomplcache_enable_camel_case_completion = 1 -let g:neocomplcache_enable_underbar_completion = 1 -let g:neocomplcache_fuzzy_completion_start_length = 1 -let g:neocomplcache_auto_completion_start_length = 10 -let g:neocomplcache_manual_completion_start_length = 1 -let g:neocomplcache_min_keyword_length = 1 -let g:neocomplcache_min_syntax_length = 1 -" complete with workds from any opened file -let g:neocomplcache_same_filetype_lists = {} -let g:neocomplcache_same_filetype_lists._ = '_' - -" TabMan ------------------------------ - -" mappings to toggle display, and to focus on it -let g:tabman_toggle = 'tl' -let g:tabman_focus = 'tf' - -" Autoclose ------------------------------ - -" Fix to let ESC work as espected with Autoclose plugin -let g:AutoClosePumvisible = {"ENTER": "\<C-Y>", "ESC": "\<ESC>"} - -" DragVisuals ------------------------------ - -" mappings to move blocks in 4 directions -vmap <expr> <S-M-LEFT> DVB_Drag('left') -vmap <expr> <S-M-RIGHT> DVB_Drag('right') -vmap <expr> <S-M-DOWN> DVB_Drag('down') -vmap <expr> <S-M-UP> DVB_Drag('up') -" mapping to duplicate block -vmap <expr> D DVB_Duplicate() - -" Signify ------------------------------ - -" this first setting decides in which order try to guess your current vcs -" UPDATE it to reflect your preferences, it will speed up opening files -let g:signify_vcs_list = [ 'git', 'hg' ] -" mappings to jump to changed blocks -nmap <leader>sn <plug>(signify-next-hunk) -nmap <leader>sp <plug>(signify-prev-hunk) -" nicer colors -highlight DiffAdd cterm=bold ctermbg=none ctermfg=119 -highlight DiffDelete cterm=bold ctermbg=none ctermfg=167 -highlight DiffChange cterm=bold ctermbg=none ctermfg=227 -highlight SignifySignAdd cterm=bold ctermbg=237 ctermfg=119 -highlight SignifySignDelete cterm=bold ctermbg=237 ctermfg=167 -highlight SignifySignChange cterm=bold ctermbg=237 ctermfg=227 - -" Window Chooser ------------------------------ - -" mapping -nmap - <Plug>(choosewin) -" show big letters -let g:choosewin_overlay_enable = 1 - -" Airline ------------------------------ - -let g:airline_powerline_fonts = 0 -let g:airline_theme = 'bubblegum' -let g:airline#extensions#whitespace#enabled = 0 - -" to use fancy symbols for airline, uncomment the following lines and use a -" patched font (more info on the README.rst) -"if !exists('g:airline_symbols') -" let g:airline_symbols = {} -"endif -"let g:airline_left_sep = '⮀' -"let g:airline_left_alt_sep = '⮁' -"let g:airline_right_sep = '⮂' -"let g:airline_right_alt_sep = '⮃' -"let g:airline_symbols.branch = '⭠' -"let g:airline_symbols.readonly = '⭤' -"let g:airline_symbols.linenr = '⭡' |