@florianm__
@matarld

Et comment on fait sans PHPStorm ?

@florianm__
@matarld
1. dรฉvelopper efficacement
2. avoir un outil gratuit
3. pouvoir customiser l'IDE
4. rester dans le terminal
@florianm__
@matarld

#1 nano

@florianm__
@matarld

simple ๐Ÿ‘

ready to go ๐Ÿ‘

digital ocean ๐Ÿ˜Ž

"classique" ๐Ÿ‘

lรฉger ๐Ÿ‘

#1 nano

@florianm__
@matarld

(trรจs) pauvre ๐Ÿ˜ข

pas performant ๐Ÿ˜”

peu customisable ๐Ÿ˜ญ

pas standard (digital ocean ๐Ÿ‘€)

#1 nano

@florianm__
@matarld

 โœ… avoir un outil gratuit

 โœ… rester dans le terminal

 โŒ dรฉvelopper efficacement

 โŒ pouvoir customiser l'IDE

#2 VI

@florianm__
@matarld

configurable ๐Ÿ‘

grosse communautรฉ ๐Ÿ‘

performant ๐Ÿ‘

fonctionnalitรฉs ๐Ÿ‘

#2 VI

@florianm__
@matarld

complexe ๐Ÿ˜ซ

apprentissage ๐Ÿ˜ฌ

โœจvimtutorโœจ

Panik

Kalm

@florianm__
@matarld

#2 VI

@florianm__
@matarld

#2 VI

#3 VIM

@florianm__
@matarld

macros

manipulation

dรฉplacements

#3 VIM

plugins

scripting

@florianm__
@matarld

 โœ… avoir un outil gratuit

 โœ… rester dans le terminal

 ๐Ÿฅญ๐Ÿ‡ dรฉvelopper efficacement

 ๐Ÿฅญ๐Ÿ‡ pouvoir customiser l'IDE

#3 VIM

@florianm__
@matarld

#4 Neovim

@florianm__
@matarld

#4 Neovim

dรฉfauts et mapping

-- init.lua

require("core.options")
require("core.keymaps")
-- lua/core/keymaps.lua

vim.keymap.set("n", "<C-s>", ":w <CR>")

vim.keymap.set("n", "<leader>cs", function ()
  local buffer = vim.fn.expand("%") 
  
  vim.cmd(string.format("!php-cs-fixer fix %s --quiet", buffer))
  vim.cmd('e')
end)
-- lua/core/options.lua

vim.opt.mapleader = " "

vim.opt.ignorecase = true
vim.opt.hlsearch = true

vim.opt.shiftwidth = 4
vim.opt.expandtab = true
@florianm__
@matarld

#4 Neovim

plugins

@florianm__
@matarld

#4 Neovim

plugins

nvim-tree

lualine

barbar

phpactor

telescope

fugitive

gitsigns

argwrap

surround

fzf

PHPActor

@florianm__
@matarld

#4 Neovim

LSP

(OSS FTW!)

@florianm__
@matarld

#4 Neovim

 โœ… avoir un outil gratuit

 โœ… rester dans le terminal

 โœ… dรฉvelopper efficacement

 โœ… pouvoir customiser l'IDE

@florianm__
@matarld

#X PDE

@florianm__
@matarld

  tmux

  i3

  regolith

Maintenant, c'est ร  vous ! ๐Ÿ’ช

@florianm__
@matarld

  vimtutor

  ideavim

  keymap/options

  plugins

[Meetup Afup Lyon 2023] Neovim

By Florian Merle

[Meetup Afup Lyon 2023] Neovim

  • 577