Code Monkey home page Code Monkey logo

.vim's Introduction

Hi there ๐Ÿ‘‹

I'm a Staff Engineer at KidsKonnect backend Team and a Core Developer for Django CMS.

I have expertise in Python, C, Go, Node.js/JavaScript, PHP, TypeScript, and databases like Postgres, SQL Server, Redis, SQLite, MongoDB, and Elasticsearch.

I'm skilled in cloud deployments across AWS, Google Cloud, DigitalOcean, and Heroku, and specialize in crafting captivating user interfaces using Tailwind and JavaScript.

Contact Information:

You can find my OSS work here:

  1. ๐Ÿ—ฃ Commented on #209 in vinitkumar/json2xml
  2. ๐Ÿš€ Published release Make new Json2xml Python3.10+ only in vinitkumar/json2xml
  3. ๐ŸŽ‰ Merged PR #211 in vinitkumar/json2xml
  4. ๐Ÿ’ช Opened PR #211 in vinitkumar/json2xml
  5. ๐Ÿš€ Published release v5.0.3 in vinitkumar/json2xml

.vim's People

Contributors

riyaz-ali avatar vinitkumar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

.vim's Issues

Upgrade Vim settings to be minimal and steal antirez config and theme

" antirez's .vimrc
" Copyright(C) 2001 Salvatore Sanfilippo

" Enable the syntax highlight mode if available
syntax sync fromstart
if has("syntax")
	syntax sync fromstart
	syntax on
        set background=dark
	let php_sync_method="0"
        highlight SpellBad ctermfg=red ctermbg=black term=Underline
endif

" Put the current date in insert mode
imap <C-d> <ESC>:r! date<CR>kJ$a
imap <C-k> <ESC>:r ~/SVC/HEADER<CR>
imap <C-o> <ESC>:bn<CR>
imap <C-k> <ESC>:bp<CR>
imap <C-x> <ESC>:syntax sync fromstart<CR>
map <C-x> :syntax sync fromstart<CR>
map <C-o> :bn<CR>
map <C-k> :bp<CR>
map 4 $
vmap q <gv
vmap <TAB> >gv

set softtabstop=4
set shiftwidth=4
set expandtab

" highlight matches with last search pattern
" set hls

set incsearch		" incremental search
set ignorecase		" ignore the case
set smartcase		" don't ignore the case if the pattern is uppercase
"set laststatus=2	" show the status bar even with one buffer
set ruler		" show cursor position
set showmode		" show the current mode
"set showmatch		" show the matching ( for the last )
set viminfo=%,'50,\"100,:100,n~/.viminfo	"info to save accross sessions
set autoindent
set backspace=2
normal mz

" abbreviations
iab pallang X-MAILGW-Newsgroups:
iab CHDR <ESC>1G:r ~/SVC/HEADER<CR>1Gdd
iab tclfile #/bin/sh \<CR># the next line restarts using tclsh \<CR>exec tclsh "$0" "$@"<CR><CR><CR># vim: set filetype=tcl softtabstop=4 shiftwidth=4<CR>

" change filetypes for common files
augroup filetypedetect
au BufNewFile,BufRead *.tcl     set filetype=tcl softtabstop=4 shiftwidth=4
au BufNewFile,BufRead *.tk     set filetype=tcl softtabstop=4 shiftwidth=4
au BufNewFile,BufRead *.md     set filetype=markdown softtabstop=4 shiftwidth=4
augroup END

" When open a new file remember the cursor position of the last editing
if has("autocmd")
        " When editing a file, always jump to the last cursor position
        autocmd BufReadPost * if line("'\"") | exe "'\"" | endif
endif

" Colors
" :hi Comment term=bold ctermfg=Cyan ctermfg=#80a0ff

" Macro
:nmap ;; :w! /tmp/tcltmp100.tcl<CR>:!tclsh /tmp/tcltmp100.tcl<CR>

" Vim 7.0 stuff
let loaded_matchparen = 1   " Avoid the loading of match paren plugin
:filetype plugin on 
" :source /usr/share/vim/vim72/macros/matchit.vim

" highlight OverLength ctermbg=red ctermfg=white ctermbg=#592929
" match OverLength /\%81v.*/

" Status Line
set laststatus=2

hi User1 ctermfg=green ctermbg=black
hi User2 ctermfg=yellow ctermbg=black
hi User3 ctermfg=red ctermbg=black
hi User4 ctermfg=blue ctermbg=black
hi User5 ctermfg=white ctermbg=black

set statusline=
set statusline +=%1*\ %n\ %*            "buffer number
set statusline +=%5*%{&ff}%*            "file format
set statusline +=%3*%y%*                "file type
set statusline +=%4*\ %<%F%*            "full path
set statusline +=%2*%m%*                "modified flag
set statusline +=%1*%=%5l%*             "current line
set statusline +=%2*/%L%*               "total lines
set statusline +=%1*%4v\ %*             "virtual column number
set statusline +=%2*0x%04B\ %*          "character under cursor

Symlink instead of copying

Why not use ln -s instead of cp in install.sh [source]? That way if there's an update in the vimrc (or gvimrc) file (and we do git pull), we won't have to cp the stuff again?

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.