GithubHelp home page GithubHelp logo

.nism0rc's Introduction

.nism0rc

my .vimrc file primarily used for a-shell on ipad.

" § iPad a-shell § "

set nocompatible " required filetype off " required

set mouse=a

" set the runtime path to include Vundle and initialize set rtp+=~/Documents/.vim/bundle/Vundle.vim call vundle#begin()

Plugin 'gmarik/Vundle'

" call plugins here Plugin 'tmhedberg/SimpylFold' Plugin 'vim-scripts/indentpython.vim' Plugin 'vim-syntastic/syntastic' Plugin 'nvie/vim-flake8' Plugin 'vim-airline/vim-airline' "Plugin 'davidhalter/jedi-vim'"

call vundle#end() " required filetype plugin indent on " required

" Set encoding to utf-8 set encoding=utf-8

" Enable folding set foldmethod=indent set foldlevel=99

" Enable folding with the spacebar nnoremap , za

" PEP-8 Indentation au BufNewFile,BufRead *.py \ set tabstop=4 | \ set softtabstop=4 | \ set shiftwidth=4 | \ set textwidth=79 | \ set expandtab | \ set autoindent | \ set fileformat=unix

" Making vim pretty let python_highlight_all=1 syntax on

" current line highlight " set cursorline :highlight Cursorline cterm=bold ctermbg=black

" enable highlight search pattern " set hlsearch

set nu

set backspace=indent,eol,start

"highlight python and self function "autocmd BufEnter * syntax match Type /\v.[a-zA-Z0-9_]+\ze([|\s|$|,|]|)|.|:)/hs=s+1 "autocmd BufEnter * syntax match pythonFunction /\v[[:alnum:]_]+\ze(\s?()/ "hi def link pythonFunction Function "autocmd BufEnter * syn match Self "(\W|^)@<=self(.)@=" "highlight self ctermfg=239

" highlight matching brackets " set showmatch

autocmd FileType python map :w:exec '!python3' shellescape(@%, 1) autocmd FileType python imap :w:exec '!python3' shellescape(@%, 1)

set linebreak map :set wrap!

set formatoptions-=t

" enable smartcase search sensitivity " set ignorecase set smartcase

set omnifunc=syntaxcomplete#Complete

" line memory " set viminfo='100,<1000,s100,h

.nism0rc's People

Contributors

r32gtr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.