View allAll Photos Tagged vim

Vim Studio

3102 Maple Ave #400

Dallas TX 75201

 

214-544-0088

mail@vimstudio.com

www.vimstudio.com

Vim Studio

3102 Maple Ave #400

Dallas TX 75201

 

214-544-0088

www.vimstudio.com

vim 6.4

 

my _vimrc:

 

set background=dark

colorscheme desert

 

"=== source $VIMRUNTIME/vimrc_example.vim ==============

" Use Vim settings, rather then Vi settings (much better!).

" This must be first, because it changes other options as a side effect.

set nocompatible

 

" allow backspacing over everything in insert mode

set backspace=indent,eol,start

 

if has("vms")

set nobackup" do not keep a backup file, use versions instead

else

set backup" keep a backup file

" TODO: checa windows/linux

set backupdir=c:\BAK

endif

set history=80" keep xx lines of command line history

"set ruler" show the cursor position all the time

"set showcmd" display incomplete commands

"set incsearch" do incremental searching

 

" Don't use Ex mode, use Q for formatting

"map Q gq

 

" This is an alternative that also works in block mode, but the deleted

" text is lost and it only works for putting the current register.

"vnoremap p "_dp

 

" Only do this part when compiled with support for autocommands.

if has("autocmd")

 

" Enable file type detection.

" Use the default filetype settings, so that mail gets 'tw' set to 72,

" 'cindent' is on in C files, etc.

" Also load indent files, to automatically do language-dependent indenting.

filetype plugin indent on

 

" Put these in an autocmd group, so that we can delete them easily.

augroup vimrcEx

au!

 

" For all text files set 'textwidth' to 78 characters.

"autocmd FileType text setlocal textwidth=78

 

" When editing a file, always jump to the last known cursor position.

" Don't do it when the position is invalid or when inside an event handler

" (happens when dropping a file on gvim).

autocmd BufReadPost *

\ if line("'\"") > 0 && line("'\"") <= line("$") |

\ exe "normal g`\"" |

\ endif

 

augroup END

 

else

 

set autoindent" always set autoindenting on

 

endif " has("autocmd")

" ==================================================

 

"copy paste

set go+=a " copia selecao do mouse pro clipboard

set clipboard=unnamed " vim.sourceforge.net/tips/tip.php?tip_id=21

  

"If you want Vim to start with a maximized window, add this command to your

"vimrc or gvimrc file:

"au GUIEnter * simalt ~x

"If you never want a toolbar, use this command in your vimrc file:

set guioptions-=T

  

set bs=2 " Smart backspace in insert mode

"set dg " Use digraphs

set fo+=r " Auto-format comments while typing

set com-=:% " '%' doesn't start comments

set hls " Highlight search pattern matches

set incsearch " incremental search

"set nojs " Join lines with only one space

set kp= " No external help system

set mps+= " Make % work with

set mls=1 " Check one line for modelines

"set nf-=octal " Ctrl-A doesn't increment octal numbers

set sb " Open new windows below the current one

"set shm=a " Use the shortest messages

set sc " Show commands being typed

set scs " Smart case in search patterns when 'ignorecase' is on

set sm " Show matching brackets when typing

set su+=.class " Skip Java class files for filename completion

"set su-=.h " but not C header files

set tw=0 " No automatic line wrap

set ul=200 " Maximum number of forgiveable mistakes

set ai si ts=2 sts=2 sw=2 noet " Default indent / tabs settings

" :list ou :list! para mostrar os tabs

set sbr=$ lcs=tab:\|\ ,trail:~ wrap " List mode and non-text characters

set visualbell

 

" SingleMap(modes, lhs, rhs)

" map lhs to rhs for the given modes

" modes is one or more of:

" R=noremap !=map! .=map i=imap n=nmap c=cmap v=vmap

" function SingleMap(modes, lhs, rhs)

" let modes = a:modes

"

" let sil = ""

" if match(modes, "s") >= 0

" let sil = ""

" endif

"

" let mapper = "map"

" if match(modes, "R") >= 0

" let mapper = "noremap"

" endif

"

" if match(modes, '!') >= 0

" exe mapper . "!" sil a:lhs a:rhs

" endif

" if match(modes, '\.') >= 0

" exe mapper sil a:lhs a:rhs

" endif

" if match(modes, 'i') >= 0

" exe "i" . mapper sil a:lhs a:rhs

" endif

" if match(modes, 'n') >= 0

" exe "n" . mapper sil a:lhs a:rhs

" endif

" if match(modes, 'c') >= 0

" exe "c" . mapper sil a:lhs a:rhs

" endif

" if match(modes, 'v') >= 0

" exe "v" . mapper sil a:lhs a:rhs

" endif

" endfunction

 

" " MultiMap(lhs, modes1, rhs1 [, modes2, rhs2 ...])

" " maps lhs to rhs1 for modes1, and to rhs2 for modes2, etc

" " see SingleMap for what modes are

" command -nargs=+ MultiMap call MultiMap()

" function MultiMap(lhs, ...)

" let idx = 1

" while idx+1 \1 = $this->_dbData['\1'];/

map _m2P "xyy:'s/a/XXXXX/gi'

nmap _e othrow New Exception('');

"iab --- -> "must have spaces :(

  

" function for bufferlist in statusline - written by Thomas Winkler

function! GetBufferList()

let l:numBuffers = bufnr('$')

let l:i = 0

 

let l:bufferList = ''

 

while(l:i <= l:numBuffers)

let l:i = l:i + 1

 

" check if buffer is listed

if(getbufvar(l:i, '&buflisted') == 1)

let l:bufName = bufname(l:i)

 

if(strlen(l:bufName))

let l:shortBufName = fnamemodify(l:bufName, ":t")

let l:shortBufName = substitute(l:shortBufName, '[][()]', '', 'g')

 

" check if buffer is readonly

if (getbufvar(l:i, '&readonly'))

let l:shortBufName = l:shortBufName . '|RO'

endif

 

" check if buffer is currently open in a window

if bufwinnr(l:i) != -1

let l:bufferList = l:bufferList . '[' . l:i . ':' . l:shortBufName . ']*'

else

let l:bufferList = l:bufferList . '|' . l:i . ':' . l:shortBufName . '|'

endif

 

" check if buffer is modified

if(getbufvar(l:i, '&modified') == 1)

let l:bufferList = l:bufferList . '+'

endif

 

let l:bufferList = l:bufferList . ' '

 

endif

endif

endwhile

 

return bufferList

endfunction

set statusline=%<\ %{GetBufferList()}\ %1*%*%w%=%(%c%V%)%2(%)%-1(%l/%L%)%=

" Show the status line even if only one file is being edited

"set laststatus=2

set titlestring=%([%M%R]\ %)%F%40([%{&ff},%{&fileencoding}%Y]%)%=0x%B\ c:%c%V\ \ \ L:%l/%L\ %P

set titlelen=107

" os %alguma-coisa:

" n = numero do buffer

" R = readOnly

" M = status (nao salvo, etc)

" F = path/file

" f = file

" l = line

" L = total lines

" P = porcento do texto sendo mostrado

" c = coluna (chars)

" v = coluna (real)

" o = car contando desde o inicio?

" b = char ascii??? nao parece

" B = byte em hex

" y = file type em []

" %([%R%M]%) = read-only, modified and modifiable flags between braces

" %{'$'[!&list]}shows a '*' if in list mode ???????????

" %{'~'[&pm=='']}shows a '~' if in patchmode ???????????

" %= = alinha pra direita (nao funciona muito bem sem fonte de tam fixo)

" %{&ff} = unix,dos

 

"set errorformat=%f:%l:%m

 

" " MyFoldText()

" " FirstLine ---[## lines]

" " instead of

" " +-- (## lines) FirstLine

" set foldtext=MyFoldText()

" function MyFoldText()

" let nlines = v:foldend - v:foldstart + 1

" return getline(v:foldstart) . ' ---[' . nlines . ' lines]'

" endfunction

  

" let php_folding=1

" let php_sql_query=1

" let php_htmlInStrings=1

" let php_parent_error_close=1

" let php_parent_error_open=1

 

" Autocompletion con Tab y Shift-Tab {{{

" function! CleverTab()

" if strpart( getline('.'), 0, col('.')-1 ) =~ '^\s*$'

" return "\"

" else

" return "\"

" endfunction

" function! CleverShiftTab()

" if strpart( getline('.'), 0, col('.')-1 ) =~ '^\s*$'

" return "\"

" else

" return "\"

" endfunction

" inoremap =CleverTab()

" inoremap =CleverShiftTab()

" "inoremap

" "inoremap

 

" enconding eh o default do VIM nao do arquivo

set encoding=utf-8 " Set Unicode as the default encoding

"set encoding=latin1 " Set Unicode as the default encoding

set fileencodings=ucs-bom,utf-8,latin1

"1 8bitSingle-byte encodings, 256 different characters. Mostly used

"in USA and Europe. Example: ISO-8859-1 (Latin1). All

"characters occupy one screen cell only.

"

"2 2byteDouble-byte encodings, over 10000 different characters.

"Mostly used in Asian countries. Example: euc-kr (Korean)

"The number of screen cells is equal to the number of bytes

"(except for euc-jp when the first byte is 0x8e).

"

"u UnicodeUniversal encoding, can replace all others. ISO 10646.

"Millions of different characters. Example: UTF-8. The

"relation between bytes and screen cells is complex.

  

" How many lines to look for vim commands

"set modelines=5

 

" Trim whitespace from python files

"autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``

"autocmd BufRead,BufNewFile *.py syntax on autocmd BufRead,BufNewFile *.py set ai

 

"filetype plugin on

"set ff=dos

"set ffs=dos,unix

 

" use autocompletar externo ao arquivo.

set complete+=k

set dictionary+=~/_vim_php

 

"set vb t_vb=".

"set browsedir=buffer

Been learning a bit about weather as Vivid Weather Winter did not include snow in Far Harbor. Now it does! Also adjusted it to be a tad brighter by default.

Vim Studio

3102 Maple Ave #400

Dallas TX 75201

 

214-544-0088

mail@vimstudio.com

www.vimstudio.com

Vim Studio

3102 Maple Ave #400

Dallas TX 75201

 

214-544-0088

www.vimstudio.com

This time around with my 10 stop ND Filter :) Last time I was there I realized I need a 10-stop filter but had to salvage the drive by making use of my 3 -stop ND filter. This is one of my favorite places to shoot off late.

Custom color scheme - adapted from Rastafarian and Cthulhian, predominantly...

 

beta.intuxication.org/jasonwryan/longbow/file/tip/miromir...

Errors produced by syntastic in vim are annoying!

Vim Studio

3102 Maple Ave #400

Dallas TX 75201

 

214-544-0088

mail@vimstudio.com

www.vimstudio.com

a modification of www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html for colemak layout on a TypeMatrix keyboard.

 

Did you know you can switch a TypeMatrix 2030 to colemak with Fn+F5. It's a well-kept secret which i think should be better publicized!

 

Please ask if you want this as SVG or PDF.

Vim Studio

3102 Maple Ave #400

Dallas TX 75201

 

214-544-0088

mail@vimstudio.com

www.vimstudio.com

New vim colourscheme, running in tmux...

VIMS Larval Fish Workshop 2016

The Vim Dicta's unique style of Psychogroove LIVE in Leicester.

256 colors test using perl script.

What is a good text editor on Linux

 

If you would like to use this photo, be sure to place a proper attribution linking to xmodulo.com

Moved from Openbox to dwm.

 

Running Vim and Vifm...

Intão, Vim Aqui No Posto Deixar O Caminhão Por Que Só Vo Carregar Amanhã, Mais Intão Caranga Com Uma Nova Cara Né Gostei Pakas Dela Assim Agora É Trabalha Pra Pagar As Dividas, Amanhã Carregar A Fruta Do Pecado E Imbicar Lá Pra Belém, Vlw Flw.

 

#GED005

#Irmãosdefé

 

Créditos:

Fh Do Welber Oliveira

Paralama Traseiro, Parafusos Do Chassi E Antena De Cima Da Cabine É Do Fh Do Lucas Almeida

Logos 440 E I SHIFT João Vitor Rocha Me Passou

Alcooa Do Érico Rafael

Resto Da Roda Edney Junior Me Passou

Bau Do Mikael Santos

Mat De Crome Do Guilherme Harthmann

The last of my Vim power is being used to clean the decades of dirt out of the treadmaster floor. Its slow labour intensive work, the brown foam is a great sign as it means the dirt is being lifted out the floor.

1 2 3 5 7 ••• 79 80