SlideShare une entreprise Scribd logo
1  sur  234
Télécharger pour lire hors ligne
Vim
Vim
      Windows
Vim
      Windows
      Vim
Vim
      Windows
      Vim
Vim
      Windows
      Vim

      vimrc
Vim
      Windows
      Vim

      vimrc
Vim
Vim
Vim
Vim
Vim   500
vimrc
vimrc
    100
    500
    1000
    1000
vimrc
    100
    500
    1000
    1000
vimrc
    100
    500
    1000
    1000
vimrc
    100
    500
    1000
    1000

           http://vim-users.jp/2009/07/hack-39/
500
Windows
Windows
Windows



1.
Windows



1.
Windows



2.
Windows



2.
Windows



3. Emacs
Windows



3. Emacs Esc Meta Alt Ctrl Shift
Windows



4.
Windows



4.
Windows



4.
Windows



4.
Windows



4.


               LTEX
               A
Windows
Windows




Windows   Vim
Vim
Vim
Vim
Vim
Vim
Vim
w   word
w   word
b   back
b   back
e   end
e   end
g
g
f   find
f   find
t   to
t   to
h   l
a   append
a   append
a   append
a   append
a   append
a   append
       i   insert
a   append
       i   insert
a   append
       i   insert
a   append
       i   insert
a   append
       i   insert
a   append
       i   insert
o
a   append
       i   insert
o
a   append
       i   insert
o
a   append
       i   insert
o
a   append
       i   insert
o
a   append
       i   insert
o
a   append
       i   insert
o
a   append
       i   insert
o
s   substitute
a   append
       i   insert
o
s   substitute
a   append
       i   insert
o
s   substitute
a   append
       i   insert
o
s   substitute
a   append
       i   insert
o
s   substitute
a   append
       i   insert
o
s   substitute
a   append
       i   insert
o
s   substitute
a   append
       i   insert
o
s   substitute
c   change
a   append
       i   insert
o
s   substitute
c   change
a   append
       i   insert
o
s   substitute
c   change
a   append
       i   insert
o
s   substitute
c   change
80   ”=”
80   ”=”
80    ”=”

132
80    ”=”

132
80    ”=”

132

            10
80    ”=”

132

            10
Vi
Vi
Vi
Emacs
Vi
Emacs
Vi
Emacs
XML
XML
XML      Vim7
at it
c   change
c   change
d   delete
c   change
d   delete
y   yank
c    change
d    delete
y    yank
cindent
c    change
d    delete
y    yank
cindent
deindent
c    change
d    delete
y    yank
cindent
deindent
indent
c    change
d    delete
y    yank
cindent
deindent
indent
VimScript   String
VimScript   String
VimScript   String


Vim7
surround.vim
surround.vim
surround.vim
surround.vim
surround.vim
surround.vim




surround.vim
delete inner double quote
delete inner double quote
delete inner double quote
delete inner double quote
delete inner double quote
change a tag
delete inner double quote
change a tag
delete inner double quote
change a tag
delete inner double quote
change a tag
delete inner double quote
change a tag
  change surround dquote to quote
delete inner double quote
change a tag
  change surround dquote to quote
delete inner double quote
change a tag
  change surround dquote to quote
delete inner double quote
change a tag
  change surround dquote to quote
delete inner double quote
change a tag
  change surround dquote to quote
delete inner double quote
change a tag
  change surround dquote to quote
delete inner double quote
change a tag
  change surround dquote to quote
delete inner double quote
change a tag
  change surround dquote to quote
vimrc
vimrc


                    1
  Vim




  1
    http://whileimautomaton.net/2008/08/vimworkshop3-kana-
presentation
vimrc


                    1
  Vim

      vimrc
      vimrc
                           vimrc




  1
    http://whileimautomaton.net/2008/08/vimworkshop3-kana-
presentation
vimrc


                    1
  Vim

      vimrc
      vimrc
                           vimrc




  1
    http://whileimautomaton.net/2008/08/vimworkshop3-kana-
presentation
vimrc
vimrc



vimrc
vimrc



    vimrc
mswin.vim
vimrc



     vimrc
mswin.vim
vimrc
vimrc



     vimrc
mswin.vim
vimrc
vim-users.jp   Vim Hacks
vimrc
vimrc
vimrc
vimrc
vimrc




                                 Vim
                          Vim                    Vim
                      2




2
    http://d.hatena.ne.jp/pcmaster/20090429/p1
vimrc




                                 Vim
                          Vim                    Vim
                      2




2
    http://d.hatena.ne.jp/pcmaster/20090429/p1
mswin.vim
mswin.vim
mswin.vim
mswin.vim
mswin.vim
mswin.vim
mswin.vim




vimrc   source mswin.vim
Vim
Vim
Vim
Vim
Vim




      InsertLeave
Vim




      InsertLeave
Vim




      InsertLeave
Vim




      InsertLeave
vimrc
vimrc

   Space        Space        vimrc
   Space        Tab        gvimrc
let vimrcbody = ’$HOME/vimfiles/rc/vimrc.vim’
let gvimrcbody = ’$HOME/vimfiles/rc/gvimrc.vim’
function! OpenFile(file)
    let empty_buffer = line(’$’) == 1 && strlen(getline(’1’)) == 0
    if empty_buffer && !&modified
         execute ’e ’ . a:file
    else
         execute ’tabnew ’ . a:file
    endif
endfunction
command! OpenMyVimrc call OpenFile(vimrcbody)
command! OpenMyGVimrc call OpenFile(gvimrcbody)
nnoremap <Space><Space> :<C-u>OpenMyVimrc<CR>
nnoremap <Space><Tab> :<C-u>OpenMyGVimrc<CR>
vimrc

   Space        Space        vimrc
   Space        Tab        gvimrc
let vimrcbody = ’$HOME/vimfiles/rc/vimrc.vim’
let gvimrcbody = ’$HOME/vimfiles/rc/gvimrc.vim’
function! OpenFile(file)
    let empty_buffer = line(’$’) == 1 && strlen(getline(’1’)) == 0
    if empty_buffer && !&modified
         execute ’e ’ . a:file
    else
         execute ’tabnew ’ . a:file
    endif
endfunction
command! OpenMyVimrc call OpenFile(vimrcbody)
command! OpenMyGVimrc call OpenFile(gvimrcbody)
nnoremap <Space><Space> :<C-u>OpenMyVimrc<CR>
nnoremap <Space><Tab> :<C-u>OpenMyGVimrc<CR>
vimrc
vimrc


F5
function! SourceIfExists(file)
    if filereadable(expand(a:file))
        execute ’source ’ . a:file
    endif
    echo ’Reloaded vimrc and gvimrc.’
endfunction
nnoremap <F5> <Esc>:<C-u>source $MYVIMRC<CR>
  :source $MYGVIMRC<CR>
  :call SourceIfExists(’~/vimfiles/ftplugin/’ . &filetype . ’.vim’)<CR>
vimrc


F5
function! SourceIfExists(file)
    if filereadable(expand(a:file))
        execute ’source ’ . a:file
    endif
    echo ’Reloaded vimrc and gvimrc.’
endfunction
nnoremap <F5> <Esc>:<C-u>source $MYVIMRC<CR>
  :source $MYGVIMRC<CR>
  :call SourceIfExists(’~/vimfiles/ftplugin/’ . &filetype . ’.vim’)<CR>



filetype
vimrc


F5
function! SourceIfExists(file)
    if filereadable(expand(a:file))
        execute ’source ’ . a:file
    endif
    echo ’Reloaded vimrc and gvimrc.’
endfunction
nnoremap <F5> <Esc>:<C-u>source $MYVIMRC<CR>
  :source $MYGVIMRC<CR>
  :call SourceIfExists(’~/vimfiles/ftplugin/’ . &filetype . ’.vim’)<CR>



filetype
HHK Pro JP
vim-users.jp   Vim Hacks
vim-users.jp   Vim Hacks
vim-users.jp   Vim Hacks
Hacks


 Hack2 Vim
Hack34 Vim
Hack45 help
Hack161 Command-line window
Hack189 Emacs                     Vim
Hack215 Vundle   plugin
Vundle
Vundle
unite.vim, neocomplcache, vimshell, vimfiler,
echodoc
Vundle
unite.vim, neocomplcache, vimshell, vimfiler,
echodoc
surround.vim(vim-surround)
Vundle
unite.vim, neocomplcache, vimshell, vimfiler,
echodoc
surround.vim(vim-surround)
git-vim
Vundle
unite.vim, neocomplcache, vimshell, vimfiler,
echodoc
surround.vim(vim-surround)
git-vim
template.vim
Vundle
unite.vim, neocomplcache, vimshell, vimfiler,
echodoc
surround.vim(vim-surround)
git-vim
template.vim
eregex.vim
vimrc
vimrc



github
vimrc



github
             Vim   github
clone
vimrc



github
             Vim   github
clone
vimrc



github
              Vim   github
clone

          vimrc
vimrc



github
              Vim     github
clone

          vimrc
          VimScript
Vim再入門
Vim再入門
Vim再入門

Contenu connexe

Tendances

Nginx 0.9.x 安装手册
Nginx 0.9.x 安装手册Nginx 0.9.x 安装手册
Nginx 0.9.x 安装手册
Yiwei Ma
 
Windows kernel debugging workshop in florida
Windows kernel debugging   workshop in floridaWindows kernel debugging   workshop in florida
Windows kernel debugging workshop in florida
Sisimon Soman
 
Windows kernel debugging session 2
Windows kernel debugging session 2Windows kernel debugging session 2
Windows kernel debugging session 2
Sisimon Soman
 

Tendances (20)

Authen Free Bsd6 2
Authen Free Bsd6 2Authen Free Bsd6 2
Authen Free Bsd6 2
 
Pentesting an unfriendly environment: bypassing (un)common defences and mate ...
Pentesting an unfriendly environment: bypassing (un)common defences and mate ...Pentesting an unfriendly environment: bypassing (un)common defences and mate ...
Pentesting an unfriendly environment: bypassing (un)common defences and mate ...
 
Shell Script
Shell ScriptShell Script
Shell Script
 
Linux Basics
Linux BasicsLinux Basics
Linux Basics
 
bash
bashbash
bash
 
Goの標準的な開発の流れ
Goの標準的な開発の流れGoの標準的な開発の流れ
Goの標準的な開発の流れ
 
3.1.c apend scripting, crond, atd
3.1.c apend   scripting, crond, atd3.1.c apend   scripting, crond, atd
3.1.c apend scripting, crond, atd
 
Containers for sysadmins
Containers for sysadminsContainers for sysadmins
Containers for sysadmins
 
nouka inventry manager
nouka inventry managernouka inventry manager
nouka inventry manager
 
SSH I/O Streaming via Redis-based Persistent Message Queue -Mani Tadayon
 SSH I/O Streaming via Redis-based Persistent Message Queue -Mani Tadayon SSH I/O Streaming via Redis-based Persistent Message Queue -Mani Tadayon
SSH I/O Streaming via Redis-based Persistent Message Queue -Mani Tadayon
 
Pf: the OpenBSD packet filter
Pf: the OpenBSD packet filterPf: the OpenBSD packet filter
Pf: the OpenBSD packet filter
 
Nginx 0.9.x 安装手册
Nginx 0.9.x 安装手册Nginx 0.9.x 安装手册
Nginx 0.9.x 安装手册
 
Piratte installation
Piratte installationPiratte installation
Piratte installation
 
MongoDB - Monitoring & queueing
MongoDB - Monitoring & queueingMongoDB - Monitoring & queueing
MongoDB - Monitoring & queueing
 
【実践】Python入門_第一回【岩手県立大学_競プロサークル】
【実践】Python入門_第一回【岩手県立大学_競プロサークル】【実践】Python入門_第一回【岩手県立大学_競プロサークル】
【実践】Python入門_第一回【岩手県立大学_競プロサークル】
 
BOSH deploys distributed systems, and Diego runs any containers
BOSH deploys distributed systems, and Diego runs any containersBOSH deploys distributed systems, and Diego runs any containers
BOSH deploys distributed systems, and Diego runs any containers
 
Windows kernel debugging workshop in florida
Windows kernel debugging   workshop in floridaWindows kernel debugging   workshop in florida
Windows kernel debugging workshop in florida
 
Windows kernel debugging session 2
Windows kernel debugging session 2Windows kernel debugging session 2
Windows kernel debugging session 2
 
JDD2014: Introducing groovy into JAVA project - Yuriy Chulovskyy
JDD2014: Introducing groovy into JAVA project - Yuriy ChulovskyyJDD2014: Introducing groovy into JAVA project - Yuriy Chulovskyy
JDD2014: Introducing groovy into JAVA project - Yuriy Chulovskyy
 
Docker e postgresql
Docker e postgresqlDocker e postgresql
Docker e postgresql
 

Similaire à Vim再入門

Vim Hacks (OSSF)
Vim Hacks (OSSF)Vim Hacks (OSSF)
Vim Hacks (OSSF)
Lin Yo-An
 
Start Vim script @Ujihisa.vim 2011/11/19
Start Vim script @Ujihisa.vim 2011/11/19Start Vim script @Ujihisa.vim 2011/11/19
Start Vim script @Ujihisa.vim 2011/11/19
Akihiro Okuno
 

Similaire à Vim再入門 (20)

Vim Hacks (OSSF)
Vim Hacks (OSSF)Vim Hacks (OSSF)
Vim Hacks (OSSF)
 
Introduction to Vim
Introduction to VimIntroduction to Vim
Introduction to Vim
 
Vim 入門
Vim 入門Vim 入門
Vim 入門
 
Start Vim script @Ujihisa.vim 2011/11/19
Start Vim script @Ujihisa.vim 2011/11/19Start Vim script @Ujihisa.vim 2011/11/19
Start Vim script @Ujihisa.vim 2011/11/19
 
Vim
VimVim
Vim
 
Introduction to Vim plugins developed by non-Japanese Vimmer (English version)
Introduction to Vim plugins developed by non-Japanese Vimmer (English version)Introduction to Vim plugins developed by non-Japanese Vimmer (English version)
Introduction to Vim plugins developed by non-Japanese Vimmer (English version)
 
Unix shell talk - RIT SSE
Unix shell talk - RIT SSEUnix shell talk - RIT SSE
Unix shell talk - RIT SSE
 
LiveStyle for Vim - Quick start
LiveStyle for Vim - Quick startLiveStyle for Vim - Quick start
LiveStyle for Vim - Quick start
 
Vim #selen
Vim #selenVim #selen
Vim #selen
 
Vim Hacks
Vim HacksVim Hacks
Vim Hacks
 
Vim Hacks
Vim HacksVim Hacks
Vim Hacks
 
Gashuku Presen
Gashuku PresenGashuku Presen
Gashuku Presen
 
Gashuku Presen
Gashuku PresenGashuku Presen
Gashuku Presen
 
How to use vim
How to use vimHow to use vim
How to use vim
 
Vim Editor And Basic Scripting (Ch-7)
Vim Editor And Basic Scripting (Ch-7)Vim Editor And Basic Scripting (Ch-7)
Vim Editor And Basic Scripting (Ch-7)
 
The Container Security Checklist
The Container Security Checklist The Container Security Checklist
The Container Security Checklist
 
Top ESXi command line v2.0
Top ESXi command line v2.0Top ESXi command line v2.0
Top ESXi command line v2.0
 
Introduction to VeriFast @ Kyoto
Introduction to VeriFast @ KyotoIntroduction to VeriFast @ Kyoto
Introduction to VeriFast @ Kyoto
 
ITB2019 Try This At Home: Building a Personal Docker Swarm - Matt Clemente
ITB2019 Try This At Home: Building a Personal Docker Swarm - Matt ClementeITB2019 Try This At Home: Building a Personal Docker Swarm - Matt Clemente
ITB2019 Try This At Home: Building a Personal Docker Swarm - Matt Clemente
 
Vim FTW!
Vim FTW!Vim FTW!
Vim FTW!
 

Plus de bleis tift

yield and return (poor English ver)
yield and return (poor English ver)yield and return (poor English ver)
yield and return (poor English ver)
bleis tift
 

Plus de bleis tift (20)

PCさえあればいい。
PCさえあればいい。PCさえあればいい。
PCさえあればいい。
 
F#の基礎(?)
F#の基礎(?)F#の基礎(?)
F#の基礎(?)
 
No more Legacy documents
No more Legacy documentsNo more Legacy documents
No more Legacy documents
 
解説?FSharp.Quotations.Compiler
解説?FSharp.Quotations.Compiler解説?FSharp.Quotations.Compiler
解説?FSharp.Quotations.Compiler
 
効果の低いテストの話
効果の低いテストの話効果の低いテストの話
効果の低いテストの話
 
テストの自動化を考える前に
テストの自動化を考える前にテストの自動化を考える前に
テストの自動化を考える前に
 
札束でExcelを殴る
札束でExcelを殴る札束でExcelを殴る
札束でExcelを殴る
 
.NET系開発者から見たJava
.NET系開発者から見たJava.NET系開発者から見たJava
.NET系開発者から見たJava
 
SI屋のためのF# ~DSL編~
SI屋のためのF# ~DSL編~SI屋のためのF# ~DSL編~
SI屋のためのF# ~DSL編~
 
F#事例発表
F#事例発表F#事例発表
F#事例発表
 
yield and return (poor English ver)
yield and return (poor English ver)yield and return (poor English ver)
yield and return (poor English ver)
 
yieldとreturnの話
yieldとreturnの話yieldとreturnの話
yieldとreturnの話
 
F#の基礎(嘘)
F#の基礎(嘘)F#の基礎(嘘)
F#の基礎(嘘)
 
現実(えくせる)と戦う話
現実(えくせる)と戦う話現実(えくせる)と戦う話
現実(えくせる)と戦う話
 
ラムダでウィザード 滅せよ手続き、とチャーチは言った (※言ってません)
ラムダでウィザード 滅せよ手続き、とチャーチは言った (※言ってません)ラムダでウィザード 滅せよ手続き、とチャーチは言った (※言ってません)
ラムダでウィザード 滅せよ手続き、とチャーチは言った (※言ってません)
 
async/await不要論
async/await不要論async/await不要論
async/await不要論
 
F#によるFunctional Programming入門
F#によるFunctional Programming入門F#によるFunctional Programming入門
F#によるFunctional Programming入門
 
VBAを書きたくない話(Excel-DNAの紹介)
VBAを書きたくない話(Excel-DNAの紹介)VBAを書きたくない話(Excel-DNAの紹介)
VBAを書きたくない話(Excel-DNAの紹介)
 
Better C#の脱却を目指して
Better C#の脱却を目指してBetter C#の脱却を目指して
Better C#の脱却を目指して
 
モナドハンズオン前座
モナドハンズオン前座モナドハンズオン前座
モナドハンズオン前座
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

Vim再入門