-
-
Save prabirshrestha/279d8b179d9353fe8694 to your computer and use it in GitHub Desktop.
Font=Powerline Consolas | |
ForegroundColour=131,148,150 | |
BackgroundColour=0,43,54 | |
CursorColour=220,50,47 | |
Black=7,54,66 | |
BoldBlack=0,43,54 | |
Red=220,50,47 | |
BoldRed=203,75,22 | |
Green=133,153,0 | |
BoldGreen=88,110,117 | |
Yellow=181,137,0 | |
BoldYellow=101,123,131 | |
Blue=38,139,210 | |
BoldBlue=131,148,150 | |
Magenta=211,54,130 | |
BoldMagenta=108,113,196 | |
Cyan=42,161,152 | |
BoldCyan=147,161,161 | |
White=238,232,213 | |
BoldWhite=253,246,227 | |
Transparency=low | |
FontHeight=12 | |
Scrollbar=none |
# curl https://gist.githubusercontent.com/prabirshrestha/279d8b179d9353fe8694/raw/.tmux.conf -o ~/.tmux.conf | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
# Change the prefix to Ctrl+a | |
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
# enable pretty colors | |
set -g default-terminal "screen-256color" | |
# increase scroll-back history | |
set -g history-limit 5000 | |
# use vim key bindings | |
setw -g mode-keys vi | |
# start window index at 1 | |
set -g base-index 1 | |
# start pane index at 1 | |
set -g pane-base-index 1 | |
# change the default delay to make it more responsive | |
set -sg escape-time 1 | |
# Splitting panes | |
bind \ split-window -h | |
bind - split-window -v | |
# pane movements | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# pane resizing | |
bind H resize-pane -L 5 | |
bind J resize-pane -D 5 | |
bind K resize-pane -U 5 | |
bind L resize-pane -R 5 | |
# pane resizing | |
bind -r H resize-pane -L 5 | |
bind -r J resize-pane -D 5 | |
bind -r K resize-pane -U 5 | |
bind -r L resize-pane -R 5 | |
# window movement | |
bind -r C-h select-window -t:- | |
bind -r C-l select-window -t:+ | |
# remapping copy paste to vim | |
# unbind [ | |
bind Escape copy-mode | |
unbind p | |
bind p paste-buffer | |
# bind -t vi-copy 'v' begin-selection | |
# bind -t vi-copy 'y' copy-selection | |
# setw -g monitory-activity on | |
set -g visual-activity on | |
# Enable mouse support in ~/.tmux.conf | |
set -g mouse on | |
# smart pane switching with awareness of vim splits | |
bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L" | |
bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D" | |
bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U" | |
#bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R" | |
bind -n C-\ run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys 'C-\\') || tmux select-pane -l" | |
set-option -g renumber-windows on | |
setw -g aggressive-resize on | |
# panes | |
set -g pane-border-fg black | |
set -g pane-active-border-fg brightred | |
## Status bar design | |
# status line | |
set -g status-justify left | |
set -g status-bg default | |
set -g status-fg colour12 | |
set -g status-interval 2 | |
# messaging | |
set -g message-fg black | |
set -g message-bg yellow | |
set -g message-command-fg blue | |
set -g message-command-bg black | |
#window mode | |
setw -g mode-bg colour6 | |
setw -g mode-fg colour0 | |
# window status | |
setw -g window-status-format " #F#I:#W#F " | |
setw -g window-status-current-format " #F#I:#W#F " | |
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W " | |
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W " | |
setw -g window-status-current-bg colour0 | |
setw -g window-status-current-fg colour11 | |
setw -g window-status-current-attr dim | |
setw -g window-status-bg green | |
setw -g window-status-fg black | |
setw -g window-status-attr reverse | |
# Info on left (I don't have a session display for now) | |
set -g status-left '' | |
# loud or quiet? | |
set-option -g visual-activity off | |
set-option -g visual-bell off | |
set-option -g visual-silence off | |
set-window-option -g monitor-activity off | |
set-option -g bell-action none | |
set -g default-terminal "screen-256color" | |
# The modes { | |
setw -g clock-mode-colour colour135 | |
setw -g mode-attr bold | |
setw -g mode-fg colour196 | |
setw -g mode-bg colour238 | |
# } | |
# The panes { | |
set -g pane-border-bg colour235 | |
set -g pane-border-fg colour238 | |
set -g pane-active-border-bg colour236 | |
set -g pane-active-border-fg colour51 | |
# } | |
# The statusbar { | |
set -g status-position bottom | |
set -g status-bg colour234 | |
set -g status-fg colour137 | |
set -g status-attr dim | |
set -g status-left '' | |
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S ' | |
set -g status-right-length 50 | |
set -g status-left-length 20 | |
setw -g window-status-current-fg colour81 | |
setw -g window-status-current-bg colour238 | |
setw -g window-status-current-attr bold | |
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F ' | |
setw -g window-status-fg colour138 | |
setw -g window-status-bg colour235 | |
setw -g window-status-attr none | |
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' | |
setw -g window-status-bell-attr bold | |
setw -g window-status-bell-fg colour255 | |
setw -g window-status-bell-bg colour1 | |
# } | |
# The messages { | |
set -g message-attr bold | |
set -g message-fg colour232 | |
set -g message-bg colour166 | |
# } |
" curl -Lk https://gist.githubusercontent.com/prabirshrestha/279d8b179d9353fe8694/raw/.vimrc -o ~/.vimrc | |
" to use existing vim configuration as neovim configuration | |
" ln -s ~/.vimrc ~/.config/nvim/init.vim | |
" For windows download lua binaries from https://sourceforge.net/projects/luabinaries/files/5.3.3/Windows%20Libraries/Dynamic/lua-5.3.3_Win64_dll11_lib.zip/download | |
set nocompatible | |
set encoding=utf-8 | |
scriptencoding utf-8 | |
set fileformats=unix,mac,dos | |
set termencoding=utf-8 | |
syntax on | |
filetype plugin indent on | |
set backspace=indent,eol,start | |
set nobackup noswapfile | |
let mapleader = ' ' | |
nnoremap ; : | |
if has('win32') | set shellslash | endif | |
" vimrc {{{ | |
nnoremap <leader>ev :e $MYVIMRC<cr> | |
nnoremap <leader>sv :source $MYVIMRC<cr> | |
" }}} | |
let s:settings = { | |
\ 'data_dir': expand('~/.config/nvim/data'), | |
\ 'plugins_dir': expand('~/.config/nvim/plugins'), | |
\ 'vim_plug_script_path': expand('~/.config/nvim/plug.vim'), | |
\ 'auto_install_plugins': 0, | |
\ } | |
let s:settings['vim_plug_script_path'] = expand('~/.config/nvim/plug.vim') | |
let s:settings['plugins_dir'] = expand('~/.config/nvim/plugins') | |
if !filereadable(s:settings['vim_plug_script_path']) | |
if !executable('curl') | echom 'curl required to download vim-plug' | endif | |
if has('win32') && &shellslash | |
let s:settings['vim_plug_script_path'] = substitute(s:settings['vim_plug_script_path'], '/', '\\', 'g') | |
endif | |
execute 'silent !curl -fkLo "' . s:settings['vim_plug_script_path'] . '" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | |
let s:settings['auto_install_plugins'] = 1 | |
endif | |
execute 'source ' . s:settings['vim_plug_script_path'] | |
call plug#begin(s:settings['plugins_dir']) | |
Plug 'iCyMind/NeoSolarized' | |
Plug 'DataWraith/auto_mkdir' | |
Plug 'Lokaltog/vim-easymotion' | |
Plug 'airblade/vim-rooter' | |
Plug 'alvan/vim-closetag' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'justinmk/vim-gtfo' | |
Plug 'lambdalisue/gina.vim', { 'on': 'Gina' } | |
Plug 'mattn/emmet-vim' | |
Plug 'sgur/vim-editorconfig' | |
Plug 'tpope/vim-commentary' | |
Plug 'scrooloose/nerdtree' | |
Plug 'prabirshrestha/async.vim' | |
Plug 'prabirshrestha/vim-lsp' | |
Plug 'prabirshrestha/asyncomplete.vim' | |
Plug 'prabirshrestha/asyncomplete-lsp.vim' | |
Plug 'yami-beta/asyncomplete-omni.vim' | |
Plug 'prabirshrestha/asyncomplete-buffer.vim' | |
Plug 'Shougo/neco-syntax' | Plug 'prabirshrestha/asyncomplete-necosyntax.vim' | |
Plug 'Shougo/neco-vim' | Plug 'prabirshrestha/asyncomplete-necovim.vim' | |
Plug 'wincent/ferret' | |
Plug 'ctrlpvim/ctrlp.vim' | |
Plug 'dbeecham/ctrlp-commandpalette.vim' | |
Plug 'okcompute/vim-ctrlp-session' | |
if has('python') || has('python3') | |
Plug 'FelikZ/ctrlp-py-matcher' | |
endif | |
Plug 'junegunn/fzf' | |
Plug 'junegunn/fzf.vim' | |
Plug 'HerringtonDarkholme/yats.vim', { 'for': 'typescript' } | |
Plug 'mhinz/vim-lookup', { 'for': 'vim' } | |
if has('nvim') | Plug 'equalsraf/neovim-gui-shim' | endif | |
call plug#end() | |
if s:settings['auto_install_plugins'] | |
autocmd VimEnter * PlugClean! | PlugUpdate --sync | |
endif | |
" ui | |
if has('termguicolors') | set termguicolors | endif | |
set background=dark | |
silent! colorscheme NeoSolarized | |
if has('directx') | set renderoptions=type:directx | endif | |
if has('gui_running') | set guioptions=Mc | endif " disable menu.vim | |
if has('gui_macvim') | |
set guifont=Ubuntu\ Mono\ Nerd\ Font\ Complete\ Mono\ Windows\ Compatible:h15 | |
else | |
set guifont=UbuntuMono_NF:h12:cANSI:qDRAFT | |
endif | |
set mouse=a " automatically enable mouse usage | |
set noerrorbells visualbell t_vb= " no annoying sound on errors | |
set shortmess=aoOtI " abbrev. of messages (avoids 'hit enter') | |
set nu " set line numbers on | |
set completeopt+=noinsert,noselect | |
set completeopt-=preview " disable autocomplete preview | |
set wildmenu " show list instead of just completing | |
set nowrap " Do not wrap long lines | |
set autoindent " Indent at the same level of the previous line | |
set shiftwidth=4 " Use indents of 4 spaces | |
set expandtab " Tabs are spaces, not tabs | |
set tabstop=4 " An indentation every four columns | |
set softtabstop=4 " Let backspace delete indent | |
set nojoinspaces " Prevents inserting two spaces after punctuation on a join (J) | |
set splitright " Puts new vertical split windows to the right of the current | |
set splitbelow " Puts new split windows to the bottom of the current | |
set pastetoggle=<F12> " paste toggle (sane indentation pastes) | |
" Move up and down in autocomplete with <c-j> and <c-k> | |
inoremap <expr> <C-j> ("\<C-n>") | |
inoremap <expr> <C-k> ("\<C-p>") | |
" Highlight problematic whitespace | |
set listchars=tab:›\ ,trail:•,extends:#,nbsp:. | |
set showbreak=··· | |
set incsearch " find as you type | |
set hlsearch " highlight search terms | |
set ignorecase " case in-sensitive search | |
set smartcase " case sensitive when upper case present | |
" Clear current search highlighting by fast // | |
nmap <silent> // :nohlsearch<CR> | |
set clipboard+=unnamed " always use system clipboard | |
" Visual shifting (does not exit Visual mode) | |
vnoremap < <gv | |
vnoremap > >gv | |
" Quit | |
inoremap <C-Q> <esc>:q<cr> | |
nnoremap <C-Q> :q<cr> | |
vnoremap <C-Q> <esc> | |
nnoremap <Leader>q :q<cr> | |
nnoremap <Leader>Q :qa!<cr> | |
nnoremap <silent> <leader>t2 :setl shiftwidth=2 softtabstop=2<CR> | |
nnoremap <silent> <leader>t4 :setl shiftwidth=4 softtabstop=4<CR> | |
nnoremap <silent> <leader>t8 :setl shiftwidth=8 softtabstop=8<CR> | |
" vim-easymotion {{{ | |
let g:EasyMotion_keys='hklyuiopnm,qwertzxcvbasdgjf' | |
nmap s <Plug>(easymotion-s) | |
" }}} | |
if has_key(g:plugs, 'gina.vim') | |
nnoremap <leader>gs :Gina status<CR> | |
nnoremap <leader>gb :Gina blame : --use-author-instead<CR> | |
endif | |
" ctrlp.vim and fzf {{{ | |
let g:ctrlp_cache_dir = expand(s:settings['data_dir'] . '/ctrlp') | |
let g:ctrlp_session_path = expand(s:settings['data_dir'] . './ctrlp-sessions') | |
if has('python') || has('python3') | |
let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' } | |
endif | |
if executable('fzf') | |
let g:ctrlp_map = '' | |
nnoremap <C-p> :GitFiles<cr> | |
command! FZFMRUFiles call fzf#run({'source': ctrlp#mrufiles#list(), 'sink': 'e', 'down': '40%'}) | |
" nnoremap <leader>r :FZFMRUFiles<CR> | |
else | |
endif | |
nnoremap <leader>r :CtrlPMRUFiles<CR> | |
" }}} | |
" asyncomplete.vim and vim-lsp {{{ | |
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" | |
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" | |
inoremap <expr> <cr> pumvisible() ? "\<C-y>\<cr>" : "\<cr>" | |
autocmd! CompleteDone * if pumvisible() == 0 | pclose | endif | |
imap <c-space> <Plug>(asyncomplete_force_refresh) | |
let s:asyncomplete_blacklist = [] | |
if executable('typescript-language-server') | |
" npm i -g typescript-language-server | |
call add(s:asyncomplete_blacklist, 'typescript') | |
au User lsp_setup call lsp#register_server({ | |
\ 'name': 'typescript-language-server', | |
\ 'cmd': {server_info->[&shell, &shellcmdflag, 'typescript-language-server --stdio']}, | |
\ 'root_uri':{server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), 'tsconfig.json'))}, | |
\ 'whitelist': ['typescript'], | |
\ }) | |
autocmd FileType typescript nnoremap <buffer><silent> <c-]> :LspDefinition<cr> | |
autocmd FileType typescript nnoremap <buffer><silent> K :LspHover<cr> | |
autocmd FileType typescript setlocal omnifunc=lsp#complete | |
endif | |
if executable('pyls') | |
" pip install python-language-server | |
call add(s:asyncomplete_blacklist, 'python') | |
au User lsp_setup call lsp#register_server({ | |
\ 'name': 'pyls', | |
\ 'cmd': {server_info->['pyls']}, | |
\ 'whitelist': ['python'], | |
\ }) | |
endif | |
if executable('rls') | |
" refer to https://github.com/rust-lang-nursery/rls on how to setup rls | |
call add(s:asyncomplete_blacklist, 'rust') | |
au User lsp_setup call lsp#register_server({ | |
\ 'name': 'rls', | |
\ 'cmd': {server_info->['rustup', 'run', 'nightly', 'rls']}, | |
\ 'whitelist': ['rust'], | |
\ }) | |
endif | |
au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#omni#get_source_options({ | |
\ 'name': 'omni', | |
\ 'whitelist': ['*'], | |
\ 'blacklist': s:asyncomplete_blacklist, | |
\ 'completor': function('asyncomplete#sources#omni#completor'), | |
\ })) | |
call add(s:asyncomplete_blacklist, 'vim') | |
au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#necovim#get_source_options({ | |
\ 'name': 'necovim', | |
\ 'whitelist': ['vim'], | |
\ 'completor': function('asyncomplete#sources#necovim#completor'), | |
\ })) | |
au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#necosyntax#get_source_options({ | |
\ 'name': 'necosyntax', | |
\ 'whitelist': ['*'], | |
\ 'blacklist': s:asyncomplete_blacklist, | |
\ 'completor': function('asyncomplete#sources#necosyntax#completor'), | |
\ })) | |
au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#buffer#get_source_options({ | |
\ 'name': 'buffer', | |
\ 'whitelist': ['*'], | |
\ 'blacklist': s:asyncomplete_blacklist, | |
\ 'completor': function('asyncomplete#sources#buffer#completor'), | |
\ })) | |
" }}} | |
" vim-lookup {{{ | |
autocmd FileType vim nnoremap <buffer><silent> <c-]> :call lookup#lookup()<cr> | |
autocmd FileType vim nnoremap <buffer><silent> <c-t> :call lookup#pop()<cr> | |
" }}} | |
" vim-gtfo {{{ | |
if has('win32') | let g:gtfo#terminals = { 'win' : 'cmd /k' } | endif | |
"}}} | |
" vim-closetag {{{ | |
" https://github.com/alvan/vim-closetag/issues/1 | |
let g:closetag_filenames = "*.xml,*.html,*.html,*.tsx,*.config" | |
au FileType xml,html,xhtml,js,typescript let b:delimitMate_matchpairs = "(:),[:],{:}" | |
" }}} | |
" nerdtree {{{ | |
nnoremap <silent> <leader>e :NERDTreeFind<CR> | |
nnoremap <silent> <leader>E :NERDTreeToggle<CR> | |
" }}} | |
" ctrlp-commandpalette.vim {{{ | |
nnoremap <leader>p :CtrlPCommandPalette<cr> | |
let g:ctrlp_commandpalette_autoload_commands = 0 | |
let g:commandPalette = { | |
\ 'Change filetype': 'Filetypes', | |
\ 'Change colorscheme': 'Colors', | |
\ 'LSP: goto definition': 'LspDefinition', | |
\ 'GUI Font picker': 'set guifont=*', | |
\ 'Current font name': 'set guifont?', | |
\ 'GitFiles': 'GitFiles', | |
\ 'Ignorecase: Toggle': 'set ignorecase!', | |
\ 'Sessions': 'CtrlPSession', | |
\ } | |
" }}} | |
if filereadable(expand('~/.vimrc.local')) | source ~/.vimrc.local | endif | |
" vim: set sw=2 ts=2 sts=2 et tw=78 foldmarker={{{,}}} foldmethod=marker spell: |
# curl https://gist.githubusercontent.com/prabirshrestha/279d8b179d9353fe8694/raw/.zshrc -o ~/.zshrc | |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="babun" | |
# use agnoster if you want powerlines | |
#ZSH_THEME="agnoster" | |
plugins=(colored-man docker git jake-node jump npm nvm z) | |
source $ZSH/oh-my-zsh.sh | |
# User configuration | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# You may need to manually set your language environment | |
# export LANG=en_US.UTF-8 | |
# Preferred editor for local and remote sessions | |
# if [[ -n $SSH_CONNECTION ]]; then | |
# export EDITOR='vim' | |
# else | |
# export EDITOR='mvim' | |
# fi | |
# Compilation flags | |
# export ARCHFLAGS="-arch x86_64" | |
# enable vi bindings | |
bindkey -v | |
bindkey -M viins 'jj' vi-cmd-mode | |
stty -ixon |
#!/bin/zsh | |
# curl https://gist.githubusercontent.com/prabirshrestha/279d8b179d9353fe8694/raw/babun-post-install | zsh | |
successfully() { | |
$* || (echo "\nfailed" 1>&2 && exit 1) | |
} | |
fancy_echo() { | |
echo "\n$1" | |
} | |
fancy_echo "Updating babun" | |
successfully pact update | |
fancy_echo "Updating ~/.zshrc" | |
successfully curl https://gist.githubusercontent.com/prabirshrestha/279d8b179d9353fe8694/raw/.zshrc -o ~/.zshrc | |
fancy_echo "Installing tmux" | |
successfully pact install tmux | |
fancy_echo "Installing solarized dark theme and powerconsolas for mintty" | |
successfully curl https://gist.githubusercontent.com/prabirshrestha/279d8b179d9353fe8694/raw/.minttyrc -o ~/.minttyrc | |
fancy_echo "Installing the_silver_searcher (ag)" | |
successfully pact install automake pkg-config libpcre-devel liblzma-devel | |
successfully git clone https://github.com/ggreer/the_silver_searcher ~/ag | |
successfully pushd ~/ag | |
successfully bash -x -o igncr ./build.sh && make install | |
successfully cd .. | |
successfully rm -rf ~/ag | |
successfully popd | |
fanyc_echo "Updating gitconfig" | |
successfully git config --global core.autocrlf true | |
successfully git config --global user.name "prabirshrestha" | |
successfully git config --global user.email "mail@prabir.me" | |
echo "execute 'chere -i -t mintty' in admin mode to enable Zsh Prompt Here" | |
source ~/.zshrc | |
START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/prabirshrestha/279d8b179d9353fe8694/raw/boxstart.ps1 |
Set-ExplorerOptions -showFileExtensions | |
Disable-BingSearch | |
Enable-RemoteDesktop | |
Enable-MicrosoftUpdate | |
cinst curl | |
cinst googlechrome | |
cinst visualstudiocode | |
cinst googledrive | |
cinst python | |
cinst python2 | |
cinst wget | |
cinst nuget.commandline | |
cinst procexp | |
cinst paint.net | |
cinst fiddler4 | |
cinst mingw | |
cinst webpicmd | |
cinst webpi | |
cinst cmake | |
cinst redis-64 | |
cinst imagemagick | |
cinst cpu-z | |
cinst kdiff3 | |
cinst dotpeek | |
cinst gpg4win | |
cinst nugetpackageexplorer | |
cinst f.lux | |
cinst linqpad | |
cinst sourcecodepro | |
cinst rabbitmq | |
cinst ansicon | |
cinst windbg | |
cinst sudo | |
cinst clink | |
cinst ctags | |
cinst jq | |
cinst ack | |
cinst dependencywalker | |
cinst postgresql | |
cinst pgadmin3 | |
cinst zoomit |
rmdir /s /q vim80 | |
powershell -NoProfile -ExecutionPolicy Bypass -Command "(new-object System.Net.WebClient).DownloadFile('http://tuxproject.de/projects/vim/complete-x64.7z', 'complete-x64.7z')" | |
"%ProgramFiles%\7-Zip\7z.exe" x complete-x64.7z -ovim80 | |
del complete-x64.7z | |
pause |
Did you have any trouble getting mintty to display the patched fonts correctly? They still show up for me as question marks and not the correct glyph. Thanks.
@schodge I now don't use cygwin's mingw. Use the windows x64 gvim only so the .vimrc file might not work with cygwin. When I did use cyginw I didn't see any problems with it.
I see that you enabled the jump plugin in zsh. Does it mean you can jump around with j
just by enabling it, or did you need to install something additionally?
Did you figured out how to make tmux open split in the current directory ? Everytime I create a new pane it goes to my home directory :(
I get the following errors when installing this. Any idea what's wrong? maybe I need to install some extra things before this?
config.status: executing depfiles commands
+ make -j4
CC src/ignore.o
CC src/log.o
CC src/options.o
CC src/print.o
src/ignore.c: In function ‘add_ignore_pattern’:
src/ignore.c:106:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (!isspace(pattern[pattern_len - 1])) {
^
CC src/print_w32.o
CC src/scandir.o
CC src/search.o
CC src/lang.o
CC src/util.o
CC src/decompress.o
CC src/main.o
src/util.c: In function ‘generate_alpha_skip’:
src/util.c:80:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
skip_lookup[(unsigned char)tolower(find[i])] = f_len - i;
^
src/util.c:81:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
skip_lookup[(unsigned char)toupper(find[i])] = f_len - i;
^
src/util.c: In function ‘is_prefix’:
src/util.c:95:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (tolower(s[i]) != tolower(s[i + pos])) {
^
src/util.c:95:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
src/util.c: In function ‘suffix_len’:
src/util.c:113:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (tolower(s[pos - i]) != tolower(s[s_len - i - 1])) {
^
src/util.c:113:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
src/util.c: In function ‘boyer_moore_strncasestr’:
src/util.c:176:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (i = f_len - 1; i >= 0 && tolower(s[pos]) == find[i]; pos--, i--) {
^
src/util.c: In function ‘is_lowercase’:
src/util.c:416:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (!isascii(s[i]) || isupper(s[i])) {
^
src/decompress.c: In function ‘decompress_zlib’:
src/decompress.c:52:22: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
stream.next_in = (Bytef *)buf;
^
src/main.c: In function ‘main’:
src/main.c:112:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
*c = (char)tolower(*c);
^
CCLD ag.exe
make[1]: Entering directory '/home/Neil/ag'
/usr/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c ag.exe '/usr/local/bin'
/usr/bin/mkdir -p '/usr/local/share/the_silver_searcher/completions'
/usr/bin/install -c -m 644 ag.bashcomp.sh '/usr/local/share/the_silver_searcher/completions'
/usr/bin/mkdir -p '/usr/local/share/man/man1'
/usr/bin/install -c -m 644 doc/ag.1 '/usr/local/share/man/man1'
make[1]: Leaving directory '/home/Neil/ag'
zsh: command not found: fanyc_echo
execute 'chere -i -t mintty' in admin mode to enable Zsh Prompt Here
ERROR: z.sh is meant to be sourced, not directly executed.
stty: standard input: Inappropriate ioctl for device
powerline consolas can be downloaded from https://github.com/eugeneching/consolas-powerline-vim